HTML file… I can’t get the form to work. Please
[code]
Translations-Design Services| TDS
Who we are | Translation Services | Web Publishing Services | Contact Us
|
© 2014 Mau-Kem Translations. All rights reserved.
[/code]
HERE’S THE PHP FILE
[php]
<?php //declare variables first $flname = $_POST['flname']; $email = $_POST['email']; $tel = $_POST['tel']; $descRequest = $_POST['descRequest']; $dropdown = $_POST['dropdown']; $from = 'From: Translations Designs'; $to = '[email protected]'; $subject = 'Hello'; $body = "From: $flname\n E-Mail: $email\n Telephone: $tel\n Description Request: $DescRequest\n Service Required: $dropdown"; //then execute if ($_POST['submit']) { if (mail ($to, $subject, $body, $from)) { echo 'Your request has been sent!
'; } else { echo 'Something went wrong, go back and try again!
'; } } ?>[/php]