|
|
|
$sAction=$_POST["FormAction"];
if ($sAction=="submit")
{
$HTML="";
foreach($_POST as $key => $value)
{
if($key != FormAction && $key != Submit)
$HTML .= "".$key." | ".$value." | ";
}
$HTML .=" ";
//echo $HTML;
mail("info@merchantdehydrates.com","Form Submitted at your website",$HTML,
"From: info@merchantdehydrates.com\n" .
"MIME-Version: 1.0\n" .
"Content-type: text/html; charset=iso-8859-1");
Show_Msg();
}
else
{
Show_Form();
}
?>
|
|
|