Jump to content

escape character


blackcat

Recommended Posts

You need to use nl2br()  www.php.net/nl2br

 

That should solve your issue for the line break.

 

Why it is doing that is because html does not notice the line break on the gui portion of the page. It will behind the scenes in the source. But in order to have it display with the break you need to convert the \n to < br />

Link to comment
https://forums.phpfreaks.com/topic/46651-escape-character/#findComment-227227
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.