时间:2021-07-01 10:21:17 帮助过:25人阅读
';echo '未打卡时间:'.$row["wdktime"].'
';echo '未打卡原因:'.$row["wdkyy"].'
';echo '部门责任人审核:'.$row["bmshtime"].' ';echo '人事行政部/总经理审批:'.$row["rsshtime"].'
';}echo '';echo '
';$i = $i + 1;for ($x=0; $x <= $i; $x++){$sql='UPDATE wdksm SET rsshtime = \'' . $_POST['test'] . '\'WHERE id = \'' .$id[$i] . '\' ';mysql_query($sql);}}?>
$query = mysql_query("SELECT * FROM `wdksm` ORDER BY `id` DESC ");while($row = mysql_fetch_assoc($query)) { $id = $row['id']; echo '日期:'.$row["time"].' '; echo '部门:'.$row["bumen"].' '; echo '姓名:'.$row["name"].' '; echo ' 职务:'.$row["zhiwu"].'
'; echo '未打卡时间:'.$row["wdktime"].'
'; echo '未打卡原因:'.$row["wdkyy"].'
'; echo '部门责任人审核:'.$row["bmshtime"].' '; echo '人事行政部/总经理审批:'.$row["rsshtime"].'
'; echo ''; echo '
';}if($_POST) { $sql = "UPDATE wdksm SET rsshtime = '$_POST[test]' WHERE id = '$_POST[id]'"; mysql_query($sql);}}