📄 check.php
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>show score</title>
<style type="text/css">
<!--
.STYLE3 {
font-size: 12px;
}
.STYLE4 {font-size: 16px; }
body {
background-image: url(image/200512319114114285.jpg);
repeat-x ;
font-style: normal;
color: #FFFFFF;
}
.STYLE5 {color: #FFFFFF}
-->
</style>
<?php
include("head.php");
?>
</head>
<table width="338" height="226" border="0.5" align="center" bordercolor="#330066" bgcolor="#000000">
<tr>
<td></td>
</tr>
<?php
$connect=mysql_connect("localhost","root","vertrigo");
mysql_query("set names'gb2312'");
$id =$_GET["id"];
$sqlStr="select * from student_score where Sid = '$id'";
$result=mysql_db_query("score_manager",$sqlStr);
while($ar=mysql_fetch_array($result))
{
$m_id=$ar["Sid"];
$m_name=$ar["Sname"];
$m_credit=$ar["Scredit"];
$m_score=$ar["Sscore"];
echo "<tr> <td>用户ID:$m_id<br/> 课程名称:$m_name <br/>课程学分:$m_credit <br/>课程分数:$m_score </td> </tr>";
}
?>
</table>
<body>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -