RE: [PHP] PHP using Forms

2001-05-04 Thread Mike Mike
; [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

RE: [PHP] PHP using Forms

2001-05-04 Thread Altunergil, Oktay
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

RE: [PHP] PHP using Forms

2001-05-04 Thread Jon Haworth
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

Re: [PHP] PHP using Forms

2001-05-04 Thread Zak Greant
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