PHP n00b question
Out of context: Reply #2
- Started
- Last post
- 14 Responses
- BonSeff0
i tried your suggest and i got an error
this is what i got
$to =
$subject = "BBB Contact Form";
$name = $_POST['name'];
$company = $_POST['company'];
$address = $_POST['address'];
$dropdown = $_POST['drop_down'];
$city = $_POST['city'];
$state = $_POST['state'];
$zip = $_POST['zip'];
$country = $_POST['country'];
$phone = $_POST['phone'];
$besttimetocall = $_POST['besttimetocall'];
$fax = $_POST['fax'];
$email = $_POST['email'];
$comments = $_POST['comments'];$body = "$name
Company:
$companyAddress:
$address
$city, $state $zip
$countryType: $dropdown
Phone: $phone
Best_time_to_call: $besttimetocall
Fax: $fax
Email: $email
Comments: $comments";
header("Location: http://www.chorizoapproved.com/b…
mail($to, $subject, $body, From: $name);