Re: Swapping <BR> for \n... ?
| From: | Dennis Moore | Date: | Wed, 30 Jan 2002 14:34:46 +0000 |
| Subject: | Re: Swapping <BR> for \n... ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-82754@lists.php.net to get a copy of this message | ||
$newstring=nl2br($string);
----- Original Message -----
From: "Jon" <Jon@digital-explosion.co.uk>
To: <php-general@lists.php.net>
Sent: Tuesday, January 29, 2002 11:11 PM
Subject: [PHP] Swapping <BR> for \n... ?
> I'm processing a form but all the functions I've found on the web only
seem
> to add the <BR> after the \n. I need to remove the \n altogether - anyone
> know how I can kill the \n and put a <BR> in it's place?
>
> Cheers,
> Jon
>
>
>
> --
> 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
>