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";

Basicly the problem is if someone puts a new line in the text area this
appears as <BR />.  example:
this is a test

would end up
<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

Reply via email to