Php formu onay kutularını (tekrar) yardım

0 Cevap php

Üzgünüm, ben şimdi başka bir sorun var. Ben daha önce kullanılan daha yeni bir php form yöntemini kullanıyorum.

Ben böyle bir şey var:

<?php 
$ToEmail = 'bryan@email.com'; 
$subject = 'Contact Form'; 
$mailheader = "From: ".$_POST["email"]."\r\n"; 
$mailheader .= "Reply-To: ".$_POST["email"]."\r\n"; 
$mailheader .= "Content-type: text/html; charset=iso-8859-1\r\n"; 
$message = "Name: ".$_POST["name"]."<br>"; 
$message .= "Subject: ".$_POST["subject"]."<br>"; 
$message .= "Email: ".$_POST["email"]."<br>"; 
$message .= "Message: ".nl2br($_POST["message"])."<br>"; 
mail($ToEmail, $subject, $message, $mailheader) or die ("Failure"); 

but I need to include check boxes. I originally had: $check .= implode(', ', $_POST['check']); from someone else on here but that doesn't work now and not sure what else to do for this. Any help would be appreciated!

sayfa bulunur burada: http://makeupbysherry.com/contact.php

0 Cevap