<form action="pagetwo.php" method="post"> <textarea cols="100" rows="40" name="email_body"> a b </textarea><br><br> </form>
On Page Two:
$to = $row['email_address'];
$body = stripslashes(trim($_POST['email_body']));
mail($to, $subject, $body, $headers);
What I really don't understand is why there are any line breaks at all, because the trim is supposed to take out all \r & \n 's. Is there another type of line break?
Best Regards,
Scott Taylor
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php