Display TEXT field value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux