[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...

/* infolinks */