Page 1 of 1

echoing single and multiple lines

Posted: Mon Oct 18, 2004 5:04 am
by Luis Almeida
Hi all,
this is probably a very basic question but i seem to be stuck on it.

I use one '<textarea>' element to insert text on a MySql Database.
The problem is that on fields with multiple lines when I echo it it comes in only one line.
I do I solve it
Thanks in advance
Luis ALmeida

Posted: Mon Oct 18, 2004 5:06 am
by feyd
:arrow: [php_man]nl2br()[/php_man]