Re: Keep cariage returns

From: Date: Mon, 24 Feb 2003 21:16:58 +0000
Subject: Re: Keep cariage returns
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-136980@lists.php.net to get a copy of this message
carriage returns in a text field (textarea) are different than how HTML formats data to be displayed. Look into the nl2br() function. http://www.php.net/manual/en/function.nl2br.php HTH, Jason k Larson Daniel Guerrier wrote:
Is it possible to maintain the carriage returns in a database insert. When I input data from a textfield with returns into the database, it is lost on a subsequent select and print. __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/


« previous php.general (#136980) next »