分类:
2005-02-18 10:51:57
一,Insert.htm源码:
Score资料表--新增资料录
二,Insert.php源码:
mysql_connect("ftp","root","");
mysql_select_db("test");
$sql="insert into score (Number,Name,Chinese,English,Math) values ($Number,'$Name',$Chinese,$English,$Math)";
mysql_query($sql);
?> 新增一笔资料成功,请反回!
所用到的SQL语句:insert into score (Number,Name,Chinese,English,Math) values ($Number,'$Name',$Chinese,$English,$Math)
作者:(台湾)王国荣