几天前,我更新了我的网站PHP版本。我做了所有必要的更新,但我的删除按钮仍然无效。
我的按钮代码:
if ($action == "sup") {
$delete = "DELETE FROM $tb_transac WHERE ($tb_transac.`SID` = '" . $session . "' OR $tb_transac.`SID` = '" . $sess . "') AND no_commande = '" . $no_commande . "'";
if (!mysqli_query($connect,$delete)) {
sms_2(sprintf("Error in executing %s stmt", $delete));
sms_2(sprintf("error:%d %s", mysqli_errno($connect), mysqli_error($connect)));
exit();
}
$step = $_GET['step'];
}