-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path9-insertData.php
More file actions
46 lines (44 loc) · 1.6 KB
/
9-insertData.php
File metadata and controls
46 lines (44 loc) · 1.6 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>向数据库插入数据</title>
</head>
<body>
<center>
<form name="myForm" method="post" action="10-processInsertData.php">
<table bgcolor="cyan">
<tr>
<td>姓名</td>
<td><input type="text" name="txtName" /></td>
</tr>
<tr>
<td>年龄</td>
<td><input type="text" name="txtAge"></td>
</tr>
<tr>
<td>qq</td>
<td><input type="text" name="txtQQ"></td>
</tr>
<!-- <tr>
<td>性别</td>
<td>
<select name="sSex">
<option value="male">male</option>
<option value="female">female</option>
</select>
</td>
</tr> -->
<tr>
<td colspan="2" align="center">
<input type="submit" name="submit" value="添加"/>
<input type="reset" name="reset" value="重置">
</td>
</tr>
</table>
</form>
</center>
</body>
</html>