hello là j'ai l'impression d'y être presque mais sa marche toujours pas 
j'ai un peu changé la formule qui est comme sa:
echo("<tr><td with=\"20px\"><input type=\"radio\" name=\"reactivation\" value=\"".$id_commande."\"></td><td width=\"100px\"><b>".$id_commande."</b></td><td width=\"120px\"><b>".$date_commande."</b></td><b><td with=\"20px\"><input type=\"submit\" name=\"remboursement\" value=\"".$id_commande."\" ></td></tr>");
1 2 3 4 5 6 7 8 9
|
if (isset($_post['remboursement'])) {
$datejour = date ("Y-m-d");
$query_rembourse= mysql_query("UPDATE commandes SET commandes_rembourse =\"".$datejour."\"
WHERE customers_id='".$com_id."' and commandes_id='".$_POST['remboursement']."' LIMIT 1");
mysql_query($query_rembourse);
echo $query_rembourse;
} |
Partager