Re: [PHP] Re: saving TEXTAREA data into mysql database

2003-06-21 Thread Jeff Harris
On Jun 21, 2003, "John W. Holmes" claimed that: |Artoo wrote: |> Is it better to use that function before the INSERT query and save it to the |> database like that or use that nl2br() function while displaying the results |> of the SELECT query, | |Use it while displaying. You generally want to sa

Re: [PHP] Re: saving TEXTAREA data into mysql database

2003-06-21 Thread John W. Holmes
Artoo wrote: Is it better to use that function before the INSERT query and save it to the database like that or use that nl2br() function while displaying the results of the SELECT query, Use it while displaying. You generally want to save the data in the database exactly as it was entered. This w

[PHP] Re: saving TEXTAREA data into mysql database

2003-06-21 Thread Artoo
Thanks, Is it better to use that function before the INSERT query and save it to the database like that or use that nl2br() function while displaying the results of the SELECT query, Thanks agian. Artoo "Catalin Trifu" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > >

[PHP] Re: saving TEXTAREA data into mysql database

2003-06-21 Thread Catalin Trifu
Hi, See the manual nl2br() function. http://www.php.net/manual/en/function.nl2br.php Cheers, Catalin "Artoo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hey, > > How do you save the data from a TEXTAREA of a form into a mysql database so > that when you retrieve th