Am fairly new to PHP but managed to successfully complete a form and all works well!
However, using similar code on another site the form goes through to a dynamic page and sends email back all correctly and has the titles of the textfields ready to have the values the user inputs next to ...but there are no values from any of the textfields???
Here is the PHP code if anyone can give me a simple answer as to what i am missing....?
<?php $name = $_POST['Name']; $company = $_POST['Company']; $email = $_POST['Email']; $tel = $_POST['Tel']; $otherpages = $_POST['Other Pages']; $otherform = $_POST['Other Forms']; $addition = $_POST['Additional Info']; # Email to Form Owner $emailTo = '"Picture Perfect" <firstname.lastname@example.org>'; $emailSubject = "Web Enquiry"; $emailFrom = "$Email"; $emailBody = "name: $name\n" . "company: $company\n" . "email: $email\n" . "tel: $tel\n" . "otherpages: $otherpages\n" . "otherform: $otherform\n" . "addition: $addition\n" . "\n" . ""; $emailHeader = "From: $emailFrom\n" . "Reply-To: $emailFrom\n" . "MIME-Version: 1.0\n" . "Content-type: text/plain; charset=\"ISO-8859-1\"\n" . "Content-transfer-encoding: quoted-printable\n"; mail($emailTo, $emailSubject, $emailBody, $emailHeader); ?>