JJeffman wrote:

> There is the "nl2br()" function too :
> // From php manual :
> nl2br -- Converts new lines to HTML line breaks.
> Description
> string nl2br(string string);
> Returns string with '<BR>' inserted before all new lines.

Sure, but never add any html tag to the data before insert into the database.
Instead, use this function when you output the text.


PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to