Re: A little code here? :)
| From: | Philip Olson | Date: | Thu, 15 Feb 2001 03:30:40 +0000 |
| Subject: | Re: A little code here? :) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-39799@lists.php.net to get a copy of this message | ||
Are you sure you want to convert \n into <br> for an email? At any rate,
a function exists for this conversion :
http://www.php.net/manual/en/function.nl2br.php
Regards,
Philip Olson
http://www.cornado.com/
.sig
be outside the box.
On Wed, 14 Feb 2001, Dallas Kropka wrote:
> I have a few text input boxes that I am using to allow the client to
> compose emails for a mailing list... does anyone have a little snippet that
> will take the "\n's" and turn them into <BR>'s? I would attempt to
> write one
> myself.... but Im not the best at ereg or replace code...
>
>
> Much Thanks in Advance.
>
> Dallas K.
>
>
> --
> 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
>