hi hi
I've created a form, and the php code works perfectly, for the name, email and comment field. But I'm not sure how the code should look for the three radio buttons that are on my form.
Please help, i'd appreciate it!!
here is the code with the variables:
/* Data Variables */
$email = $_POST['email'];
$name = $_POST['name'];
$surname = $_POST['surname'];
$productcode = $_POST['productcode'];
$method = $_POST['method'];
$body = <<
Name: $name
Surname: $surname
Email: $email
Codes: $productcode
Credit: $credit
Transfer: $transfer
CHeque: $cheque
EOD;
$headers = "From: $email\r\n";
$headers .= "Content-type: text/html\r\n";
$success = mail($webMaster, $emailSubject, $body,
$headers);