📄 updateworker.php
字号:
<?
session_start();
?>
<style type="text/css">
<!--
a:link {
color: #000066;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #000066;
}
a:hover {
text-decoration: underline;
color: #0099FF;
font-style: italic;
font-size:17px;
}
a:active {
text-decoration: none;
color: #000066;
}
.STYLE2 {font-size: 14px}
-->
</style>
<table width="528" border="1" cellpadding="1" cellspacing="0">
<tr>
<? require_once 'conn.php';
$sql="UPDATE `worker` SET `number` = '$textfield2',
`name` = '$textfield3',
`sexy` = '$textfield4',
`age` = '$textfield5',
`do` = '$textfield6',
`from` = '$textfield7',
`idcard` = '$textfield8',
`worktime` = '$textfield9',
`address` = '$textfield10',
`tel` = '$textfield11',
`mail` = '$textfield12',
`qq` = '$textfield13',
`income` = '$textfield14',
`mobile` = '$textfield15',
`bumen` = '$textfield16',
`duty` = '$textfield17',
`note` = '$textfield18' WHERE `worker`.`id` =$id LIMIT 1 ;
";
$result=mysql_db_query("hostipal",$sql,$cn);
echo "恭喜,更新成功,请<a href=admin_right.php>返回</a>";
?>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -