To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm
On 09 December 2004 22:41, Ben C wrote: > I have a form which has a text box which then stores in MySQL. When I > write seperate paragraphs and try and then view what I wrote it lumps > it all together in one paragraph when I echo. I am sure I am doing > something simply wrong. Anyone have any ideas? echo nl2br(htmlspecialchars($text)) is my usual mantra for this. Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Headingley Campus, LEEDS, LS6 3QS, United Kingdom Email: [EMAIL PROTECTED] Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php