Re: Carriage returns
| From: | Tyler BIRD | Date: | Fri, 18 Oct 2002 19:09:23 +0000 |
| Subject: | Re: Carriage returns | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-120549@lists.php.net to get a copy of this message | ||
The code for enter can be many things
\r\n \r \n
Wintel Macintosh Unices
if your displaying the data you collect in html \n|\r\n|\r == <br>
what was the ascii code for enter you had
>>> "Stephen" <webmaster@melchior.us> 10/18/02 01:02PM >>>
Hello,
How can I make it so when a user types something in to a textarea, when
they push enter, it stays as an enter? I've tried using a replace
function that replaces the ASCII code for enter to \n but that didn't
work.
Thanks,
Stephen Craton
http://www.melchior.us
http://php.melchior.us