Re: saving TEXTAREA data into mysql database

From: Date: Sat, 21 Jun 2003 10:52:18 +0000
Subject: Re: saving TEXTAREA data into mysql database
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-152378@lists.php.net to get a copy of this message
Hi, See the manual nl2br() function. http://www.php.net/manual/en/function.nl2br.php Cheers, Catalin "Artoo" <artoo_s@hotmail.com> wrote in message news:20030621075204.18663.qmail@pb1.pair.com... > Hey, > > How do you save the data from a TEXTAREA of a form into a mysql database so > that when you retrieve the data later you get the same format that the user > entered > > EXAMPLE > user enters the following and cliks save > > Line 1 testing > Line 2 TEST > > Line 4 test > > line 5 test > > test > > testing > > result when displaying data > > Line 1 testingLine 2 TESTLine 4 testline 5 testtesttesting > > > How do I get it so the format is the same? > > Thanks > >

« previous php.general (#152378) next »