0
点赞
收藏
分享

微信扫一扫

PHP SQL更新语句

霍华德 2022-07-27 阅读 50

<?php
if ($wid!=""){ //确认工资条没有问题
$y_title="1";
$sql= "update wage set Signature='$y_title' where wid='$wid'";
mysql_query($sql) or die(mysql_error());
echo("<script type='text/javascript'> alert('确认成功!');location.href='view_wage.php';</script>");
mysql_close();
}
?>

举报

相关推荐

0 条评论