require_once'db/userdb.php';
if(empty($_GET['uid']))
{
header('location:table.php');
exit();
}
$info=ModeGetOneUserInfoByUid($_GET['uid']);
?>
table{
border-collapse: collapse;/*合并单元格*/
line-height: 2;
border-spacing: 0;/*表格之间空隙为0*/
width:100%;
text-align: center;
}
th{
background-color: #4A8091;
}
td{
/* width: 40px;*/
/* background-color: #c7ddef;*/
}
.id{
width: 100%;
line-height:2 ;
}
table *{
border: 1px solid ;
}
tr{
line-height: 2;
}
' method="post">
姓名(中文简体字) | '> |
---|---|
平时成绩(20%) | |
考试成绩(80%) | |
if(!empty($_GET['errno']))
{
$errno = $_GET['errno'];
switch ($errno)
{
case 4: echo '* 考试分数不能为空';break;
case 6: echo '* 平时分数不能为空';break;
case 8: echo '* 服务器繁忙,请稍后再试';break;
}
}
?>
一键复制
编辑
Web IDE
原始数据
按行查看
历史