?
| Current Path : /home/webyoo/www/backup/allback/docteur-site/save_2405bh/ |
| Current File : /home/webyoo/www/backup/allback/docteur-site/save_2405bh/ajout_options.php |
<?php
include "start.php";
extract($_POST);
$opt = explode(',',$options);
if($opt[0]){$option0='oui';}else{$option0='non';}
if($opt[1]){$option1='oui';}else{$option1='non';}
if($opt[2]){$option2='oui';}else{$option2='non';}
if($opt[3]){$option3='oui';}else{$option3='non';}
if($opt[4]){$option4='oui';}else{$option4='non';}
$req = "UPDATE doc_medecins SET option0='$option0', option1='$option1', option2='$option2', option3='$option3', option4='$option4' WHERE login='$logmed'";
echo $req;
$sql_insert=mysql_query($req);
?>