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,
>
>     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 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
> >
> >
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to