Re: Editing in a text area field

From: Date: Fri, 09 Jan 2009 16:15:45 +0000
Subject: Re: Editing in a text area field
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-285845@lists.php.net to get a copy of this message
Daniel Brown wrote:
I want it to display with the line gaps.
    
Why not store it as plain text in the database, then run it through nl2br() when you SELECT it from the database for display? Thank you! That is the way I will do this.
I may want to change <br /><br /> to </p><p> but that should be easy. Cheers Stephen

« previous php.general (#285845) next »