formatting lf's and the blob
| From: | Floyd Baker | Date: | Thu, 19 Oct 2000 19:55:51 +0000 |
| Subject: | formatting lf's and the blob | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-21250@lists.php.net to get a copy of this message | ||
Hi..
I see in the archives that the text or blob type should retain the line feeds of
the text placed in them. It isn't working that way for me.
I have a text box form inputting text to a mysql 'text' field. When I select it
and print it to the website, the line feeds are not there... The
query/printout scripting is being called to the webpage with an include line.
On the other hand; when I pull it back to the text box for editing, simply using
'print $textname' between the textarea tags, everything appears as it should...
I've tried nl2br() and other formatting attempts to no avail.
Is there a problem using include? Can someone say what might be going wrong?
Thanks.
Floyd
--