Re: Help with enter key in Forms
| From: | Martin Alterisio | Date: | Fri, 02 Jun 2006 21:02:14 +0000 |
| Subject: | Re: Help with enter key in Forms | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-237306@lists.php.net to get a copy of this message | ||
2006/6/2, George Babichev <geoldr@gmail.com>:
Awesome, thank you so much! It works! On 6/1/06, Chris <dmagick@gmail.com> wrote: George Babichev wrote:bit more about HTML and PHP so that you can find the explanation and solution for this and other problems on your own. Please read the manual, specially when someone is kind enough to point you the exact function to look for. PS: Have you understood what went wrong in your script? Have you understood what is the purpose of nl2br? If not, the kindness of those who answered you will have been in vain.Ok, I sent it to everyone and you. Now can you answer my questionplease?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 2The 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/ Now that your problem is solved it would be a nice idea to study a little