> From: "Miguel J. Jiménez" [mailto:[EMAIL PROTECTED] 

> You must convert "\n" to <br> and spaces to &nbsp; You can use
> strreplace() or some other function that exist in PHP just for that...

nl2br() should do that.

Usage: nl2br($foo)

$foo is your textarea variable.

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

Reply via email to