Re: Display TEXT field value

From: Date: Tue, 27 May 2003 19:35:41 +0000
Subject: Re: Display TEXT field value
Groups: php.db 
Request: Send a blank email to php-db+get-28099@lists.php.net to get a copy of this message
if i'm understanding you correctly, you're looking for this??? nl2br() http://www.php.net/manual/en/function.nl2br.php "John M." <bali1a@freema To: php-db@lists.php.net il.hu> cc: Subject: [PHP-DB] Display TEXT field value 05/27/2003 03:30 PM 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 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.db (#28099) next »