-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadd.php
45 lines (45 loc) · 1.32 KB
/
add.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE html>
<html>
<head>
<title>学生信息管理</title>
<link rel="stylesheet" href="css/style.css" />
</head>
<body>
<?php include("common/header.php");?>
<div class="body">
<?php include_once("menu.php");?>
<h3>增加学生信息</h3>
<form id="addstu" name="addstu" method="post" action="action.php?action=add">
<center>
<table>
<tr>
<td>姓名</td>
<td><input id="name" name="name" type="text"/></td>
</tr>
<tr>
<td>性别</td>
<td><input type="radio" name="sex" value="男"/> 男
<input type="radio" name="sex" value="女"/> 女
</td>
</tr>
<tr>
<td>年龄</td>
<td><input type="text" name="age" id="age"/></td>
</tr>
<tr>
<td>班级</td>
<td><input id="classid" name="classid" type="text"/></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" value="增加"/>
<input type="reset" value="重置"/>
</td>
</tr>
</table>
</center>
</form>
</div>
<?php include("common/footer.php");?>
</body>
</html>