Re: replacing a carriage return with an html break

From: Date: Mon, 03 Sep 2001 20:29:27 +0000
Subject: Re: replacing a carriage return with an html break
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-65796@lists.php.net to get a copy of this message
nate@1feehosting.com wrote:
I am filling out a form <text area>, and submitting it to the next page which just prints what I submitted, but it doesnt print any returns, i used when i filled out the previous <text area> I found on php.net there is a ereg_replace funtion and a trim function but I am unsure if either one will work and im not sure how to use them.
Try: http://www.php.net/manual/en/function.nl2br.php -- _______ ___ _ ____ _____ Chris Hobbs / ____\ \ / / | | |/ ___\| __ \ Head Geek | (___ \ \ / /| | | | (___ | | | | WebMaster \___ \ \ \/ / | | | |\___ \| | | | PostMaster ____) | \ / | |__| |____) | |__| | \____/ \/ \____/ \____/|_____/ http://www.silvervalley.k12.ca.us chobbs@silvervalley.k12.ca.us

« previous php.general (#65796) next »