; [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 04, 2001 10:16 AM
> To: 'Mike Mike'; [EMAIL PROTECTED]
> Subject: RE: [PHP] PHP using Forms
>
>
> Try this:
>
> $Home = nl2br($Home); // nl2br converts newlines
> to s
>
> See http://www.php.net/nl2br for m
ring)
{
return(nl2br(htmlentities($string)));
}
-Original Message-
From: Jon Haworth [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 04, 2001 10:16 AM
To: 'Mike Mike'; [EMAIL PROTECTED]
Subject: RE: [PHP] PHP using Forms
Try this:
$Home
Try this:
$Home = nl2br($Home); // nl2br converts newlines to s
See http://www.php.net/nl2br for more info.
(Incidentally, I answered exactly the same question yesterday, in exactly
the same way. *Please* check the list archives/last few days postings/manual
before posting this sort of thin
Use the nl2br() function
--zak
- Original Message -
From: "Mike Mike" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 04, 2001 8:11 AM
Subject: [PHP] PHP using Forms
> Hello,
> I have a form field COLS=40>
> with this data in it:
>
> My Home
> 11 North 5th St
> St. P
4 matches
Mail list logo