RE: [PHP] HELP: Carriage returns don't display in HTML

2002-09-27 Thread Jesse Cablek
Shane mailto:[EMAIL PROTECTED] scribbled; There is a JavaScript function that will convert carriage return to BR tags, but is there a PHP function that will add BR or P tags to a text form field in place of the carriage returns a user might add. nl2br() -jesse -- PHP General Mailing

Re: [PHP] HELP: Carriage returns don't display in HTML

2002-09-27 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey, Try nl2br(http://www.php.net/nl2br). ~Pauly On Friday 27 September 2002 08:19 pm, Shane wrote: Greetings folks. I need my carriage returns to show up in my HTML output from my text form field. There is a JavaScript function that will