background image

<tr>
<td><inputtype="submit"name="Submit"value="提交"></td>
<td>&nbsp;</td>
</tr>
</table>
</form>
<hrnoshade>

</body>
</html>
二,

Insert.PHP 源码:

<html>
<head>
<metahttp-equiv="Content-Type"content="text/html;charset=gb2312">
<title>insert</title>
</head>
<body>
<?php
MySQL_connect("ftp","root","");
mysql_select_db("test");
$sql="insertintoscore(Number,Name,Chinese,English,Math)values($Number,'$Name',$Chinese,
$English,$Math)";
mysql_query($sql);
?>新增一笔资料成功,<ahref="insert.htm">请反回</a>!
</body>
</html>
所用到的

SQL 语句:

insertintoscore(Number,Name,Chinese,English,Math)values($Number,'$Name',$Chinese,
$English,$Math)