Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001122

[PHP] Re: Parsing syntax to add a HTML line break From: Arve Bersvendsen (arve.news <email protected>)
Date: 12/18/01

 wrote in news:000f01c187af$60d6c900$d536cca6 <email protected>:

> I have a form to be used for data submission and to be added to
> MySQL. How do I parse the syntax so that it automatically inserts
> a HTML line break whenever a carriage return is present??

nl2br <URL:http://www.php.net/manual/en/function.nl2br.php>

-- 
Arve                 <URL:http://www.bersvendsen.com/>

Newsere mot X-No-Archive <URL:http://www.ibiblio.org/Dave/Dr-Fun/df9601/df960124.jpg>

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>