php - Newline characters not showing up -


i have form escaped input in php in pretty standard way using function:

mysql_real_escape_string( string ) 

but when pull contents out of database, reason, spaces no longer showing, , text gets displayed 1 big block. page has example of in hike description area: http://www.comehike.com/hikes/scheduled_hike.php?hike_id=131

does know why happening , how prevent this? bug or normal behavior?

you have learn html basics.

linebreaks intended not rendered in html.
make visible, have replace them html tag.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -