> Would someone mind pointing me to a function, or some code, or give me
> seudo-code start for the following:
> I'm using the mail() function.
> If someone submits the form with text in the multi-line textarea, any
> carrige returns (ie, by pressing ENTER) are taken out & the body is
> as a single line.
> I'm sending the e-mail in plain text.

Maybe try a different WRAP attribute for your textarea. Options are
VIRTUAL, PHYSICAL, and NONE/OFF (can't remember which). You probably
want PHYSICAL, which will insert newlines when the text wraps in the

What are you using to view these emails?

---John W. Holmes...

PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/

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

Reply via email to