Re: Newlines to <BR>
| From: | jeremy brand | Date: | Mon, 18 Sep 2000 17:52:21 +0000 |
| Subject: | Re: Newlines to <BR> | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-17171@lists.php.net to get a copy of this message | ||
nl2br()
:)
-jeremy brand
_______________________________________________________________________
GnuPG Fingerprint: 9F5E 95E0 1CC2 E054 84EA 6099 8ACD 9DBA D2C0 5EA9
_ http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html
for more __
On Mon, 18 Sep 2000, Marcio Ghiraldelli wrote:
> Date: Mon, 18 Sep 2000 14:36:12 -0300
> From: Marcio Ghiraldelli <fatfox@adaptanet.com.br>
> To: php-general@lists.php.net
> Subject: [PHP] Newlines to <BR>
>
> Hello, people!
> An easy task.... how do I convert in an string context new lines
> (\n) to <br>'s?
> I'd tried "strtr ($string, "\n", "<br>")" but it
> didn't worked....
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>