allora x il checkbox mi puoi dire la sintassi dell'if e anche dove metterlo? nel form o nel php? non ci chiappo un belino..

come php ho:

<?php

// L'INDIRIZZO DEL DESTINATARIO DELLA MAIL
$to = "mail@miosito.it";

// IL SOGGETTO DELLA MAIL
$subject = "BOOKING FORM SUMMER 2005 www.miosito.it";

// COSTRUIAMO IL CORPO DEL MESSAGGIO
$body .= "PERSONAL DETAILS:\n\n";
$body .= "Surname: " . trim(stripslashes($_POST["surname"])) . "\n";
$body .= "Name: " . trim(stripslashes($_POST["name"])) . "\n";
$body .= "Sex: " . trim(stripslashes($_POST["sex"])) . "\n";
$body .= "Date of birth: $dayDOB-$monthDOB-$yearDOB\n";
$body .= "Place of birth: " . trim(stripslashes($_POST["POB"])) . "\n";
$body .= "Nationality: " . trim(stripslashes($_POST["nationality"])) . "\n";
$body .= "Father's name: " . trim(stripslashes($_POST["father"])) . "\n";
$body .= "Mother's name: " . trim(stripslashes($_POST["mother"])) . "\n";
$body .= "Address: " . trim(stripslashes($_POST["address"])) . "\n";
$body .= "Town: " . trim(stripslashes($_POST["town"])) . "\n";
$body .= "Post code: " . trim(stripslashes($_POST["postcode"])) . "\n";
$body .= "Country: " . trim(stripslashes($_POST["country"])) . "\n";
$body .= "Tel no: " . trim(stripslashes($_POST["tel"])) . "\n";
$body .= "Fax no: " . trim(stripslashes($_POST["fax"])) . "\n";
$body .= "E-mail: " . trim(stripslashes($_POST["email"])) . "\n\n";
$body .= "---------------------------------------------------\n";
$body .= "ACADEMIC INFORMATION:\n\n";
$body .= "School's name and address: $school\n\n";
$body .= "Theacher's name: $teacher\n";
$body .= "French level: " . trim(stripslashes($_POST["level"])) . "\n";
$body .= "How did they hear about us: " . trim(stripslashes($_POST["how"])) . "\n\n";
$body .= "---------------------------------------------------\n";
$body .= "BOOKING INFORMATION:\n\n";
$body .= "Booking for : " . trim(stripslashes($_POST["weeks"])) . "\n";
$body .= "Starting from: " . trim(stripslashes($_POST["weeks2"])) . "\n";
$body .= "MSA-snorkelling: $snorkelling\n";
$body .= "MSA-tennis: $tennis\n\n";
$body .= "---------------------------------------------------\n";
$body .= "MEETING AND TRANSFER:\n\n";
$body .= "Assistance required: " . trim(stripslashes($_POST["assistance"])) . "\n";
$body .= "Nice airport: " . trim(stripslashes($_POST["level"])) . "\n";

$body .= "---------------------------------------------------\n";
$body .= "HEALTH STATUS AND GOING OUT PERMISSION:\n\n";
$body .= "Special health treatment required: " . trim(stripslashes($_POST["health"])) . "\n";
$body .= "if yes, what: " . trim(stripslashes($_POST["healthtext"])) . "\n";
$body .= "Authorization to go out: " . trim(stripslashes($_POST["out"])) . "\n";
$body .= "By: $mr_mrs $parent\n\n";
$body .= "---------------------------------------------------\n";




// INTESTAZIONI SUPPLEMENTARI
$headers = "From: Modulo utenti<modulo@sito.it>";

// INVIO DELLA MAIL
if(@mail($to, $subject, $body, $headers)) { // SE L'INOLTRO E' ANDATO A BUON FINE...

echo "La mail è stata inoltrata con successo.";

} else {// ALTRIMENTI...

echo "Si sono verificati dei problemi nell'invio della mail.";

}

?>




abbi pazienza x tutta sta pappardella ma è due giorni che navigo ovunque su inet ma nn riesco a risolvere la cosa (è già un miracolo che il form invia i dati... purtroppo anche se il checkbox non è selezionato)

grazie