query($Iqueery); $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; $headers .= "From: $enq_email\r\n"; $message="
Trade Enquiry
 
Name $enq_name
Email address $enq_email
Contact Number $enq_cont_no
 Address $enq_add
 Comments $enq_comment
"; mail("info@renmal.com", "Trade Enquiry", $message, $headers); header("location: trade_enquiry.php?msg=send"); } if($msg=='send') { $template=str_replace('[MESSAGE]',"Trade Enquiry Send successfully",$template); $template=str_replace('[DIS]',"disabled",$template); } $template=str_replace('[MESSAGE]',"",$template); $template=str_replace('[DIS]',"",$template); echo $template; ?>