Re: Text Format ALL GONE ??!!
| From: | Samura1 | Date: | Mon, 05 Aug 2002 14:38:53 +0000 |
| Subject: | Re: Text Format ALL GONE ??!! | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-15129@lists.php.net to get a copy of this message | ||
Hey Daniel.
Can you teach me how to use that function? I read thru PHP.NET but still
can't figure out. You may use chinese if it's easier for you.
I want it display in the table cell with appropriate tags on my paragraph.
<td>
........................
</td>
"Daniel MassóN" <danielemasson@hotmail.com> ¼¶¼g©ó¶l¥ó·s»D
:F217waSGFW74c5pmvV500025c35@hotmail.com...
> hi try using nl2br($text);
>
>
> >From: "Samura1" <ohmysam@hotmail.com>
> >Reply-To: "Samura1" <ohmysam@hotmail.com>
> >To: php-windows@lists.php.net
> >Subject: [PHP-WIN] Text Format ALL GONE ??!!
> >Date: Mon, 5 Aug 2002 23:57:01 +0930
> >
> >Dear all, I need all your help...
> >
> >I have a variable $text contains a paragraph and dot points. Here is an
> >example
> >==========
> >Hello,
> >Yes I am a GUY.
> >Why not?
> > - ABC
> > - DEF
> >==========
> >
> >But the browser will only display something like:
> >==========================
> >Hello,Yes I am a GUY.Why not?
> >==========================
> >
> >I know it is caused by the <p> <br>...etc. But how to insert this tags
into
> >the paragraph?
> >Please help~
> >
> >
> >
> >
> >
> >
> >--
> >PHP Windows Mailing List (http://www.php.net/)
> >To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>
>
> Daniel
>
> _________________________________________________________________
> Join the worlds largest e-mail service with MSN Hotmail.
> http://www.hotmail.com
>