|
Become
Volonteer
You are coming to the PSWC but you don't want to race?
You want to help us organise the competition?
We need you as volonteer!
If you want to become volonteer, please fill in the form
below:
include('cnx.php');
if($_POST['NOM']){
$sql="INSERT INTO bene VALUES (
'', '".$_POST['NOM']."', '".$_POST['PRENOM']."', '".$_POST['MAIL']."', '".$_POST['PHONE']."',
'".$_POST['SI']."', '".$_POST['SM']."','".$_POST['SA']."', '".$_POST['DM']."', '".$_POST['DA']."',
'".$_POST['LM']."', '".$_POST['LA']."', '".$_POST['LA']."');";
$res=mysql_query($sql,$db);
$id=mysql_insert_id($db);
if($res)
echo "Thanks for your Help, you'll be contacted soonly";
else
echo 'Erreur : '.$sql;
}
$sql='SELECT Nom , Prenom , SI,SM,SA,DM,DA,LM,LA,LD FROM bene ';
$res=mysql_query($sql,$db);
// $sql;
echo"
First Name |
Last Name |
Installation |
Saturday AM |
Saturday PM |
Sunday AM |
Sunday PM |
Monday AM |
Monday PM |
Uninstallation |
";
while($list=mysql_fetch_array($res)){
echo"";
for($i=0;$i<2;$i++){
echo"".$list[$i]." | ";
}
for($i=2;$i<11;$i++){
echo"";
if($list[$i]=='checkbox')
echo ' ';
echo" | ";
}
echo" ";
}
echo" ";
?>
|