> Would someone mind pointing me to a function, or some code, or give me a > 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 sent > 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 box. 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