RE: [PHP] Forms and viewing Text Area

From: Date: Fri, 10 Dec 2004 10:36:27 +0000
Subject: RE: [PHP] Forms and viewing Text Area
Groups: php.general 
Request: Send a blank email to php-general+get-203908@lists.php.net to get a copy of this message
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: m.ford@leedsmet.ac.uk Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211

« previous php.general (#203908) next »