1 2 3 4 5 6 7 8 9 10
| public function modifier()
{
if(isset($_POST['sauvegarder'])){
$requete="UPDATE circuit SET ( id_circuit =$_POST['id_circuit'], Nomcircuit =$_POST['Nomcircuit'], Villededépart =$_POST['Villededépart'],
Jourdedépart =$_POST['Jourdedépart'], Jourderetour =$_POST['Jourderetour'], Duree =$_POST['Duree'], Prix =$_POST['Prix'], Supplementsingle=$_POST['Supplementsingle'], Reductionenfant =$_POST['Reductionenfant'] , Description =$_POST['Description']) where id_circuit =$_POST['id_circuit'];";
$result =mysql_query($requete);
}
} |
Partager