HNX
-
Posts
102 -
Joined
-
Last visited
Never
Posts posted by HNX
-
-
ok so i made a contact form and i added php with it and this is my code
<?php // Contact subject $subject ="$subject"; // Details $message="$detail"; // Mail of sender $mail_from="$customer_mail"; // From $header="from: $name <$mail_from>"; // Enter your email address $to ='myemail@gmail.com'; $send_contact=mail($to,$subject,$message,$header); // Check, if message sent to your email // display message "We've recived your information" if($send_contact){ echo "Your message has been received. A Response will be sent to you as soon as possible. Thank You!"; } else { echo "ERROR"; } ?>
and when i preview my html page and submit some in to test it it works, this is what it says:
"; // Enter your email address $to ='noorihamayun@gmail.com'; $send_contact=mail($to,$subject,$message,$header); // Check, if message sent to your email // display message "We've recived your information" if($send_contact){ echo "Your message has been received. A Response will be sent to you as soon as possible. Thank You!"; } else { echo "ERROR"; } ?>
is someone could please help me it would be VERY appreciated
Thanks,
HNX
Hi need help with my contact us form
in PHP Coding Help
Posted
the file is saved as a php but i donnu if php is enabled....how do i enable it???