Re: Help with enter key in Forms

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

 



George Babichev wrote:
Ok, I sent it to everyone and you. Now can you answer my question please?
I type in
1



2
into my form in the program that i made, then when I view it, it shows
1 2
BUT if I check it in PHP My Admin it displays
1



2

The answer is to change this:

<? echo "".$row['post']."

to this:

<? echo "".nl2br($row['post'])."


like I said before...

--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux