[SOLVED] How to insert enter character / </br> break line from mysql database to html

Put this in your html file. I use text type on mysql column data. I use textarea when input the text on html. It has some breakline on the data. Then i echo it on regular html. You can see the result on kopsyahaba.com/index.php
<?php
                    $order   = array("\r\n", "\n", "\r");
                    $replace = '<br />';
                    $ambilintro=mysqli_fetch_array(mysqli_query($con,"SELECT * from home"),MYSQLI_NUM);
                    $databaru=str_replace($order, $replace, $ambilintro[0]);
                    echo $databaru;
?>

[SOLVED] Ctrl and Alt button become Shift button (Linux Mint)



ctrl+t and ctrl+w not working when browsing in linuxmint. Ctrl and Alt button become Shift button (Linux Mint) 1. After install the linuxmint, the ctrl and alt button become shift button, so i can't use ctrl+t to new tab and ctrl+w to close tab in browsing. This is because i'm using gaming keyboard that maybe not standart. 2. You can read the solution on https://bitbucket.org/Swoogan/aziokbd 3. First open the terminal then type sudo apt-get install mercurial build-essential linux-headers-generic dkms 4. then type hg clone https://bitbucket.org/Swoogan/aziokbd 5. then change directory by typing cd aziokbd 6. after that type sudo ./install.sh dkms then press 'y' 7. Done! now your keyboard can't type anything, so you need to unplug it, then plug again the keyboard, now the ctrl and alt button back to normal. Alhamdulillah. May Allah protect us from pirated software and OS that can bring sin and led us to hell because it's same as robbing other people's things :)

THE MEANING OF LIFE | MUSLIM SPOKEN WORD | HD

Ustadz Dr. Khalid Basalamah, Ma. - Berita Islami Masa Kini (Bab Pernikah...

Ustadz Subhan Bawazier - Berita Islami Masa Kini Trans Tv

Ustadz Dr. Khalid Basalamah, Ma. dan Teuku Wisnu - Berita Islam Masa Kini Trans TV

Kajian Islam : Nikmat Seakan-Akan Bukan Nikmat - Ustadz Syafiq Reza Basa...

[SOLVED] Can't open regedit

I can't open regedit since upgrade to windows 10. To solve this :

  1. Run CMD as an administrator
  2. Type : reg delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\regedit.exe"
  3. Then type yes and enter.
  4. Then go to start menu, type regedit, click on it, and it will run!"

[SOLVED] Google chrome has stopped working

My friend just bought a new laptop. Whenever open chrome, it stopped working. Even i reinstall, it still stopped working. To solve this:
 - Uninstall Cyberlink Youcam

Yes, only that. :D

Eclipse Failed to create the Java Virtual Machine

Eclipse error: 'Failed to create the Java Virtual Machine'



To solve this :
1. Open eclipse folder
2. Open eclipse.ini
3. Change -Xmx1024 to -Xmx512 on the last line
4. Save, done.

[SOLVED] Google Chrome Icon Gone / Not Visible

If the google chrome icon changed to generic icon, do this to solve it: 1. Run Task Manager 2. end explorer.exe 3. run new task: cmd.exe type cd C:\Users\[username]\appdata\local type del iconcache.db /a type exit 4. Back in Task Manager 5. run new task: explorer.exe

[SOLVED] How to solve backslash '\' become Yen sign '¥' (Windows 7)

1. Open control panel 2. Click clock, language, and region 3. Click Region and Language 4. Open Administrative tab 5. Click Change system locale... 6. Change current system locale to English (United Kingdom), after that the computer will restart

[SOLVED] Error loading 126 : The specified module cannot be found

This error occured because of invalid registry value, to solve this
1. Open notepad
2. Copy this code
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}\0000]
"OpenGLVendorName"=hex(7):61,00,74,00,69,00,6f,00,67,00,6c,00,78,00,78,00,2e,\
  00,64,00,6c,00,6c,00,00,00,61,00,74,00,69,00,6f,00,67,00,6c,00,78,00,78,00,\
  2e,00,64,00,6c,00,6c,00,00,00,00,00

3. Save with extension .reg
4. Run the file

[SOLVED] Your ip address has changed. Please log in again. (cpanel)

This error happened when i try to log in to cpanel of my domain with my smartphone. It's happened because the smartphone use dynamic IP and changed everytime. To solve this:
1. Make subdomain with cpanel name on your domain, so it will be cpanel.yourdomain.com
2. Download this file https://www.dropbox.com/s/pzgkww9xry1meft/cPanelProxy.zip
3. Extract it, there will be 4 files inside it
4. Open your cpanel, open file manager, under public_html folder there will be cpanel folder, upload the files to cpanel folder.
5. DONE! Now you can open cpanel with your mobile phone, but REMEMBER, use cpanel.yourdomain.com instead of yourdomain.com/cpanel

[SOLVED] Network Error : (Dns_Server_Failure) on Android (Telkomsel)

To solve this:
Open Access Point Names on mobile network setting, open the APN that you are using now, clear the proxy, save.

------------------------------------------------------------------------------------------------------------
HP saya Xperia ZR, saat browsing, muncul network error itu di hp, untuk mengatasi ini:
   Buka access point names di mobile network setting, buka settingan yg dipake, misal TSEL WAP, hapus proxy nya, lalu save.



[SOLVED] Cannot connect to the real www.google.com

Cannot connect to the real www.google.com
Cannot connect to the real www.facebook.com
etc etc

That happened when i change my pc case, the date and time become incorrect, to solve this:
1. Click date and time on bottom right
2. Change date and time settings...
3. Click Internet Time tab
4. Click change settings...
5. Make sure server is time.windows.com
5. Check synchronize with internet time server
6. Click update now
7. Click ok, click ok

That happened because the time was reset when i change my pc case.

[SOLVED] How to get notification from facebook comment plugin

How to moderate facebook comment plugin on website?this is how
1. Put this code on the website section

<meta property="fb:app_id" content="599619996783465" />
2. Put this code on the section you want to show the facebook comment

< div id="fb-root"> < /div < 
                                                   <script>(function(d, s, id) {
       var js, fjs = d.getElementsByTagName(s)[0];
       if (d.getElementById(id)) return;
       js = d.createElement(s); js.id = id;
       js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=599619996783465";
       fjs.parentNode.insertBefore(js, fjs);
       
     }(document, 'script', 'facebook-jssdk'));
     
     </script>
                                                   <fb:comments href="your page site url" num_posts="10" width="940"></fb:comments>
3. Open https://developers.facebook.com/tools/comments/?id=your app id to see the notification

[SOLVED] Where is video cache google chrome location on windows 7?

When you finish streaming video on chrome, the file is stored here

C:\Users\'username'\AppData\Local\Google\Chrome\User Data\Default\Pepper Data\Shockwave Flash

change 'username' with your computerusername, look for big .tmp file, change the .tmp to .flv

[SOLVED] How to Monitor Bandwidth Used Per Program on Windows 7

1. go to start
2. Type “Resource Monitor”
3. Then click the NETWORK tab

Windows 7 already have it so you don't need to download any program, lol!

Or if you want advance control like limitting bandwidth per program, etc, try netbalancer https://netbalancer.com/ 

[SOLVED] JQuery JCaroullite Bug

I use Jquery JCaroullite, but when i slide the image, one of image is disappear, to solve this:

Change the code of javascript on the web page from

$(document).ready(function() { 
$(".jCarouselLite").jCarouselLite({
 btnNext: ".next",
 btnPrev: ".prev",  
 speed: 400,  
 vertical: false,
 circular: true,
 easing:'easeOutQuart',
 visible: 4,
 start: 0,
 scroll: 1
});
});

To

$(document).ready(function() { 
$(".jCarouselLite").jCarouselLite({
 btnNext: ".next",
 btnPrev: ".prev",  
 speed: 400,  
 vertical: false,
 circular: true,
 easing:'easeOutQuart',
 visible: ($("#carousel li img").length>1)?3:2,
 start: 0,
 scroll: 1
});

});
/* infolinks */