⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 welcome.php

📁 简单的学生成绩管理系统~实现了学生成绩的登记
💻 PHP
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>welcome</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>

<body>

<table width="338" height="226" border="0.1" 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 user_info where id = '$id'";
$result=mysql_db_query("score_manager",$sqlStr);
$ar=mysql_fetch_array($result);


$m_id=$ar["id"];
if($m_id!="0")
{
$m_username=$ar["username"];
$m_sex=$ar["sex"];
$m_age=$ar["age"];
$m_class=$ar["class"];
$m_academic=$ar["academic"];
$m_tel=$ar["tel"];
$m_email=$ar["email"];
$time = date("Y-m-d H:i:s");
echo "<tr> <td>ID:$m_id  <br/>姓名:$m_username<br/>性别:$m_sex<br/> 年龄:$m_age<br/>班级:$m_class<br/>学院:$m_academic<br/>联系方式:$m_tel<br/>Email:$m_email<br/>当前时间:$time</td> </tr>";
}
?>
</table>

<div align="center" class="smalltxt">
<?php 
echo "<a href = \"check.php?id=$id_cookie\">   查询成绩</a> &nbsp;&nbsp;&nbsp; ";
echo "<a href = \"chmod_Sinfo.php?id=$id_cookie\">   学生信息输入</a> &nbsp;&nbsp;&nbsp; ";
echo "<a href = \"chmod_Cinfo.php?id=$id_cookie\">   课程信息输入</a> &nbsp;&nbsp;&nbsp; ";
echo "<a href = \"chmod_Minfo.php?id=$id_cookie\">   学生成绩输入</a> &nbsp;&nbsp;&nbsp; ";
?>
</div>

</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -