...

View Full Version : insert line breaks



Shecky
03-21-2003, 08:10 PM
I have a simple form with a text area where people are going to be entering a lot of line breaks. then i post the form and it generates html code. How can i get it to recognize there is an enter 'break' in there and have it add a <br>

Íkii
03-21-2003, 10:20 PM
$x = nl2br($x);



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum