Re: Carriage returns

From: Date: Fri, 18 Oct 2002 19:12:49 +0000
Subject: Re: Carriage returns
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-120550@lists.php.net to get a copy of this message
On Friday, Oct 18, 2002, at 20:02 Europe/London, Stephen wrote:
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.
http://www.php.net/nl2br -- Stuart

« previous php.general (#120550) next »