[nycphp-talk] automatically parse breaks

Donald J. Organ IV dorgan at
Fri Aug 1 17:04:33 EDT 2003

when displaying the information on the site use nl2br();  and then when editing the information in a text box or text area use nl2br() and then htmlspecialchars();
  ----- Original Message ----- 
  From: Tim Toomey 
  To: talk at 
  Sent: Friday, August 01, 2003 3:34 PM
  Subject: [nycphp-talk] automatically parse breaks

  I want to make it so that people here at the company can edit info on our website, and i want to make it so that if they hit the return key within a text field, a new line will be parsed. So that instead of having to learn how to use <br> and html they will just hit the <return> key and php will know to make a new line.

  Does anyone know the code for this?



  talk mailing list
  talk at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the talk mailing list