php求助
include "mysql.inc.php";
session_start();
echo "
";
echo "航班信息:";
echo $_SESSION["_flight"]." ";
echo $ _SESSION["_from"]."-";
echo $_SESSION["_to"]." ";
echo $_SESSION["_date"]."   ;";
echo $_SESSION["_takeoff"]."-";
echo $_SESSION["_arrive"]." ";
echo $_SESSION["_company" ]." ";
echo $_SESSION["_cabin"]." ";
echo $_SESSION["_price"]."   ;";
echo "gt;"; echo "乘客姓名:".$_POST[name]." | "; echo "身份证号:".$_POST[idnum]." |
";
echo ""; echo "联系人姓名: ".$_POST[連絡先]." | gt;"; echo "联系电话:".$_POST[電話]." |
";
echo "
";
?>
if( $submit2){
$sql="psgrinfo 値に挿入 ('','$_POST[name]','$_POST[idnum]')";
mysql_query($sql);
/ / header("Location:ordering.php");
}
?>
问题是書き込み入力库時,能够書入,第一字段自動追加,ただし後面二字段都是空的,前乘客姓名那$_POST[名前]输出是问题有,求解决办法
------解决方案------ --------------