Jump to content

tvadon

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

tvadon's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hello, I have been pulling my hair out over this simple php sendmail code. I need some help. Here is the html table with all the fields (9 in all): <td width="345"> <center> <form method="post" action="sendmail.php"> <table> <tr><td colspan=2><center><div align="center"><font size="6" color="#ff0000"><font size="5" color="#ff0000"> <strong>Enter your information below so that you can get immediate access to our list of BELOW MARKET handyman deals in the Austin area!</strong></font> </font></div></center></td></tr> <tr> <td> Email: </td> <td> <input name="email" type="text" value="" size="20"> </td></tr> <tr> <td> First Name: </td> <td> <input name="first name" type="text" value="" size="20"> </td></tr> <tr> <td> Last Name:</td><td><input type="text" name="last name" value="" size="20"></td></tr> <tr> <td> Address:</td><td><input type="text" name="address" value="" size="20"></td></tr> <tr> <td> City:</td><td><input type="text" name="City" value="" size="20"></td></tr> <tr> <td> State:</td><td><input type="text" name="State" value="" size="20"></td></tr> <tr> <td> Zip:</td><td><input type="text" name="zip" value="" size="20"></td></tr> <tr> <td> Phone:</td><td><input type="text" name="phone" value="" size="20"></td></tr> <tr> <td> Fax:</td><td><input type="text" name="fax" value="" size="20"></td></tr> <tr> <td align="center" colspan="2"><input type="submit" name="submit" value="Free Instant Access!"></td></tr> </table> </form> </center> </td> </tr> AND HERE IS THE PHP: <?php $email = $_REQUEST['email'] ; $first name = $_REQUEST['first name'] ; $last name = $_REQUEST['last name'] ; $address = $_REQUEST['address'] ; $city = $_REQUEST['city'] ; $state = $_REQUEST['state'] ; $zip = $_REQUEST['zip'] ; $phone = $_REQUEST['phone'] ; $fax = $_REQUEST['fax'] ; mail( "travisvadon@yahoo.com", "Austin Buyer on the line!", $first name, $last name, $address $city, $state, $zip, $phone, $fax, "From: $email" ); header( "Location: http://www.wholesalehomesaustin.com/blog" ); ?> I KNOW THERE ARE PROBABLY MANY ERRORS BUT I CAN'T THINK OF ANY..... OBVIOUSLY BRAND NEW TO THIS STUFF. THANKS FOR THE HELP.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.