Form Submit Problem. (new to php)

hi all

im now to php, im trying to best this basic form to work.

when the user clicks submit it SHOULD send the form info to a e-mail address(my e-mail address)

But this comes up

Email: $emailField
Name: $nameField
Phone Number: $phoneField
Budget: $budgetField
Number of Travelers: $travelersField
Comments: $commentsField
Newsletter: $newsletterField
EOD; $headers = “From: $emailField\r\n”; $headers = “Content-type: text/html\r\n”; $success = mail($webMaster, $emailSubject, $body, $headers); /* Results rendered as HTML */ $theResults = <<
Thank you for your interest! Your email will be answered very soon!
EOD; echo “$theResults”; ?>

Find a link below for the project file and php code. hope someone can help thanks

https://rapidshare.com/files/1617772828/Form_PHP.rar

I don’t know how to help you with coding but I just implemented a contact form in my wordpress site using the Pluging “Fast Secure Contact”. As I said, I don’t know PHP and am looking for help on an issue I’m having but maybe you can find your answers with this pluging and its coding.

good luck.

Sponsor our Newsletter | Privacy Policy | Terms of Service