Re: [PHP] make hitting enter in a text box =

2002-05-13 Thread list peters
hi, i use nl2br($string) which replaces carriage returns with breaks on the output page chad > I have a simple script for a newsletter, with a text area box for someone to > type in their newsletter. Is it possible to make it so when someone hits > enter with the text box it will equal ? > >

RE: [PHP] make hitting enter in a text box =

2002-05-13 Thread John Holmes
will, umm, replace the "\n" with a "". ---John Holmes... > -Original Message- > From: Martin Towell [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 13, 2002 9:47 PM > To: 'Rob Packer'; [EMAIL PROTECTED] > Subject: RE: [PHP] make hitting enter in a

RE: [PHP] make hitting enter in a text box =

2002-05-13 Thread Martin Towell
when the data gets to php, do a $str = str_replace("\n", "", $str); (not tested, but should work) HTH Martin -Original Message- From: Rob Packer [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 14, 2002 2:33 PM To: [EMAIL PROTECTED] Subject: [PHP] make hitting enter

[PHP] make hitting enter in a text box =

2002-05-13 Thread Rob Packer
I have a simple script for a newsletter, with a text area box for someone to type in their newsletter. Is it possible to make it so when someone hits enter with the text box it will equal ? TIA Robert -- -- NRC ONLINE -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visi