Heim > Artikel > Backend-Entwicklung > 【php】四、学生管理系统-修改界面
【php】4、学生管理系统-修改界面
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>学生成绩管理系统</title> <?php include_once 'stuService.class.php'; include_once 'student.class.php'; session_start(); $name = $_SESSION['student_name']; if($name == "") { header("Location: stu_login.php?error=1"); exit(); } $service = new stuservice(); $stu = new student(); $stu = $service->getstu($name); if(!empty($_GET['error'])) { $error = $_GET['error']; if($error==1) { echo "修改失败"; } } ?>
预览: