Php form not working







This is form which i want to send by this contact.php file.

                                 The code php is
<?php $to = "[email protected]"; $name = $_REQUEST['Name'] ; $email= $_REQUEST['Email']; $phone= $_REQUEST['Phone']; $message= $_REQUEST['Message']; $subject= "Inquiry"; mail($to,$subject,$message,"from:".$name."Email".$email."Mobile number".$phone) echo "Your message has been sent"; ?>

you cant include a phone number in the actual mail function. that would go in the message and you’re missing the headers.

Sponsor our Newsletter | Privacy Policy | Terms of Service