[PHP] storing line breaks in a database

2001-12-21 Thread Robin McKenzie
I am storing comments in a MySQL db, and want to know how to include line breaks from multi-line input boxes. Does anyone have any experience of doing this? Kind Regards, Robin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] storing line breaks in a database

2001-12-21 Thread Bogdan Stancescu
Yes - implement the Nike solution: Just do it! You have no problems, simply insert the data from the input box in the table. You may want to display the results with nl2br() so you can see the line breaks in HTML afterwards. Bogdan Robin McKenzie wrote: I am storing comments in a MySQL db,