$act=$_GET["act"];
$name = $_POST["name"];
$sex = $_POST["sex"];
$birth = $_POST["birth"];
$nation = $_POST["nation"];
$face = $_POST["face"];
$height = $_POST["height"];
$age = $_POST["age"];
$education = $_POST["education"];
$weight = $_POST["weight"];
$idcard = $_POST["idcard"];
$phone = $_POST["phone"];
$come = $_POST["come"];
$urgentname = $_POST["urgentname"];
$address = $_POST["address"];
$urgentphone = $_POST["urgentphone"];
$score = $_POST["score"];
$expect = $_POST["expect"];
if($act=="add"){
$datetime=date('Y-m-d H:i:s',time());
$sql="insert into lbcms_entry (name,sex,birth,nation,face,height,age,education,weight,idcard,phone,come,urgentname,address,urgentphone,score,expect) values ('{$name}','{$sex}','{$birth}','{$nation}','{$face}','{$height}','{$age}','{$education}','{$weight}','{$idcard}','{$phone}','{$come}','{$urgentname}','{$address}','{$urgentphone}','{$score}','{$expect}')";
$rows=mysql_query($sql);
if ($rows>0){
echo "";
}
else{
echo "";
}
}
?>