[EMAIL PROTECTED] wrote:

> I am filling out a form <text area>, and submitting it to the next page which just 
>prints what I submitted, but it doesnt print any returns, i used when i filled out 
>the previous <text area>
> 
> I found on php.net there is a ereg_replace funtion and a trim function but I am 
>unsure if either one will work and im not sure how to use them.


Try: http://www.php.net/manual/en/function.nl2br.php


-- 
                _______      ___    _  ____  _____
Chris Hobbs   / ____\ \    / / |  | |/ ___\|  __ \
Head Geek    | (___  \ \  / /| |  | | (___ | |  | |
WebMaster     \___ \  \ \/ / | |  | |\___ \| |  | |
PostMaster    ____) |  \  /  | |__| |____) | |__| |
               \____/    \/    \____/ \____/|_____/
                   http://www.silvervalley.k12.ca.us
                       [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to