Display TEXT field value
| From: | John M. | Date: | Tue, 27 May 2003 19:30:07 +0000 |
| Subject: | Display TEXT field value | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-28098@lists.php.net to get a copy of this message | ||
Hello,
I have a message box, where user can write more lines of comment. I store it
in a mysql db in a TEXT field.
But if I use echo command to display the value of the field I become the
value without linebreaks. How can I display the value in the same style as
input was?
Thanks!
Example:
User write:
hello
hello
In database is:
hello
hello
But display with echo I see:
hellohello