| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 
 |  
 
$titre_offre = mysql_real_escape_string(trim(stripslashes($_POST['titre_offre'])));
$description_offre = mysql_real_escape_string(trim(stripslashes($_POST['description_offre'])));
$date_offre = mysql_real_escape_string(trim(stripslashes($_POST['date_offre'])));
$date_expiration_offre = mysql_real_escape_string(trim(stripslashes($_POST['date_expiration_offre'])));
$jours = mysql_real_escape_string(trim(stripslashes($_POST['jours'])));
 
 
	mysql_query('UPDATE sortie SET 
 
		titre_offre = \''.$titre_offre.'\',
		description_offre = \''.$description_offre.'\',
		date_offre = \''.$date_offre.'\',
		date_expiration_offre = \''.$date_expiration_offre.'\',
		jours = \''.$jours.'\',
 
 
		WHERE id = \''.$_SESSION['config_user']['id_sortie'].'\'');
 
<html>
<td>
			Mercredi
			<INPUT type="checkbox" name="jours[]" value="Mercredi">
			</td></tr>
			<tr><td>Dimanche
			<INPUT type="checkbox" name="jours[]" value="Dimanche">
			</td>
 
</html> | 
Partager