<?php
header("content-type:text/html;charset=gb2312");
$conn=mysqli_connect("locallost","root"," root","study");
mysqli_set_charset($conn,"utf-8");
if($conn){
switch($_GET["操作"]){
case 'add';
$name=$_POST['name'];
## $age=$_POST['age']; $class=$_POST['class'];# 、年齡、類別)values('$name'、'$sex'、'$age'、'$class')"; $rw=mysqli_query($conn,$sql);if($rw>0){ echo "";# >
echo "";
}
## }# break;
}
}
#?>
##}?