Hi Everyone !!
I am having some problems and I am hoping someone can give me some ideas on what the problem is.
I have a form which I need the data sent to email, and I am just getting a blank page when the data is submitted. :o
Here is the form page. www.heavenlyherbalz.com/free/index.html and here is my PHP script/ page. /free/form_process.php
[php]<?php
/* set email recipient */
$myemail = "[email protected]";
/* Let’s Declare ID */
$name = $_POST[‘Name’];
$address = $_POST[‘Address’];
$apt = $_POST[‘apt’];
$city = $_POST[‘City’];
$state = $_POST[‘State’];
$zipcode = $_POST[‘zipcode’];
$phone = $_POST[‘phone’];
$age = $_POST[‘age’];
$currentsmoker = $_POST[‘currentsmoker’];
$tried_ecigs = $_POST[‘tried_cigs’];
$AutoShip = $_POST[‘AutoShip’];
/* set subject heading */
$subject =“New Monthly Program Entry Form”;
/* set the message */
$message = "$Name + $Address + $Apt + $City + $State + $zipcode + $phone + $age + $currentsmoker + $tried_cigs + $AutoShip
";
/* redirect this form after email sent */
(“location: http://www.heavenlyherbalz.com/index.html”);
?>
Click Here to Pay Using Paypal
[/php]
I must be missing something, any help would be greatly appreciated !!
Thank you,
John