scottjk Posted September 24, 2007 Share Posted September 24, 2007 Hi. Can someone please tell me how to format my email processing php to avoid getting results like this: Name : <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Arial\" SIZE=\"11\" COLOR=\"#FFFFFF\" LETTERSPACING=\"0\" KERNING=\"0\">Scott Smith</FONT></P></TEXTFORMAT> Email: <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Arial\" SIZE=\"11\" COLOR=\"#FFFFFF\" LETTERSPACING=\"0\" KERNING=\"0\">[email protected]</FONT></P></TEXTFORMAT> Comments: Here is the script: $destination="[email protected]"; $name=$_POST['name1']; $email=$_POST['email']; $mes=$_POST['company']; $mes=$_POST['number']; $mes=$_POST['message']; $subject="Message from $name" ; $mes="Name : $name\n Email: $email\n Comments: $mes\n"; mail($destination,$subject,$mes); ?> Thanks Scott Link to comment https://forums.phpfreaks.com/topic/70417-php-flash-variable-email-script-format-question/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.