i have form mail, when submitted i get the reuslts without any format, the code
<form method=post action="<?PHP_SELF?>">
<input type=text name="Name">
<input type=text name="Age">
<input type=submit name="Submit" value="Submit">
</form>
if($Submit)
{
//This will post all form values
while (list($key,$value) = each($HTTP_POST_VARS))
{
$msg .= "$key: $value\n"; //assigning to msg!
}
mail("someone@somewhere","Test Subject","$msg\n",
"me@somewhere.com") or die("mail not functioned!");
echo "<h2>Thank you</h2><br>Thank you .";
}
else
{
echo "$successMsg";
}//end else Submit
?>
the form does work proper, but the email result im getting not formatted to what i need
so, how can i format it?, i want to capture variables $name and $age and present it nicely. is there a way to format the result in HTML , so that i can present the results in HTML ?
thanks indeeeeeeeeeeed