How to display php echo the same as you see in mysql -



How to display php echo the same as you see in mysql -

i have mysql table called _post , have column called message (text)

when insert row table text looks in phpmyadmin

this right how want display

how much utilize computer? might spending much time.....

but when echo out of database looks this

how much utilize computer? might spending much time.....

thank you

you should utilize nl2br() function.

php mysql

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -