Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

silly question about carriage returns

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Postby Jay » Tue Oct 01, 2002 12:34 pm

A carriage return is \r, a new line is \n! Identify what your script is using and then change it to <br> to replace the new lines for <br>

Or you can use the nl2br() function
Jay
 


Return to PHP coding => General

Who is online

Users browsing this forum: Google [Bot] and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.