RE: [PHP] HTML to mysql - from msql to html
| From: | John Holmes | Date: | Sun, 05 May 2002 07:37:51 +0000 |
| Subject: | RE: [PHP] HTML to mysql - from msql to html | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-96108@lists.php.net to get a copy of this message | ||
www.php.net/nl2br
---John Holmes...
> -----Original Message-----
> From: Mantas Kriauciunas [mailto:Mantuks@attbi.com]
> Sent: Saturday, May 04, 2002 11:27 PM
> To: PHP General List
> Subject: [PHP] HTML to mysql - from msql to html
>
> Hey PHP General List,
>
> I have hare a little problem. Well i have in the page <TEXTAREA>
> thingy and there i wrote text like that(between lines):
>
> ----------------------
> foo bar
>
> more foo bar
> ----------------------
>
> now i do msql_query("UPDATE............."); and it sets into the
> database with just space. and when i take it out from database there
> is no empty line in the middle. I can see only like that when i do
> echo $myrow[1] after fetching array:
>
> ----------------------
> foo bar more foo bar
> ----------------------
>
> so how should i do and what should i use to put it like it was set.
>
> P.S i know there have been some questions like that but i didn't see
> them myself
>
> thanks for helping me out :)
>
> :------------------------------:
> Have A Nice Day!
> Mantas Kriauciunas A.k.A mNTKz
>
> Contacts:
> Mantuks@attbi.com
> Http://mntkz-hata.visiems.lt
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php