Hi I have an online email form but I can't get the text layout the same as the layout someone types in the text Area, here is the final bit of code:
$message = stripslashes($message); $message = htmlentities($message); $message = nl2br($message); $from="From: $email"; $to= "[EMAIL PROTECTED]"; mail($to,$subject,$message,$from); Basicly the problem is if someone puts a new line in the text area this appears as <BR />. example: Hi, this is a test would end up Hi, <br /> this is a test. Any help please? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php