MySQL Forums
Forum List  »  PHP

new line character
Posted by: James Burbridge
Date: July 21, 2005 12:11PM

does anyone know how to replace the \n with a <br> tag , and NOT have it still be printed out in multiple lines? ie:
stuff\n\n other stuff

wont become


otherstuff, it will just be stuff<br><br>otherstuff on one line.

Options: ReplyQuote

Written By
new line character
July 21, 2005 12:11PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.