$result=mysql_query("INSERT INTO table_zc(account,password,name,sex,introduce,prosition,createtime) VALUES ("$account","$password","$sex","$name","$introduce","$prosition","$createtime")");请问这个提示“Parse error:syntax error,unexpected T_VA

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/25 02:02:26
$result=mysql_query(
xAkAǿʰ`.@J{ d ̮&=E(e+MѪ .4q[w);o̮x߼Y+PlݺMic:,)͕j 4WZn踳J*BM,h=0h!]ahRif(V-li}\廍5PR ?42"rrLR UtC|qNCg?z_^Q)Sj%6$:H h<01p:'ΟbYںTg0̰)mg]#\v9GNwjŬU_3?vqE wv!wb0|2 :?q{T;Up p|g4}H+I/RE߷ܒ2xEJ;g9$ľl5֩0S%5S~]

$result=mysql_query("INSERT INTO table_zc(account,password,name,sex,introduce,prosition,createtime) VALUES ("$account","$password","$sex","$name","$introduce","$prosition","$createtime")");请问这个提示“Parse error:syntax error,unexpected T_VA
$result=mysql_query("INSERT INTO table_zc(account,password,name,sex,introduce,prosition,createtime) VALUES ("$account","$password","$sex","$name","$introduce","$prosition","$createtime")");
请问这个提示“
Parse error:syntax error,unexpected T_VARIABLE in C:\localhost\zc\source\check.php on line 48”错误,是哪里不对了

$result=mysql_query("INSERT INTO table_zc(account,password,name,sex,introduce,prosition,createtime) VALUES ("$account","$password","$sex","$name","$introduce","$prosition","$createtime")");请问这个提示“Parse error:syntax error,unexpected T_VA
因为你的sql语句是用双引号引的,所以sql语句里的values括号里的值就应该用单引号引起来 不然程序就不知道该翻译你的这条语句了应该是
$result=mysql_query(" INSERT INTO table_zc(account,password,name,sex,introduce,prosition,createtime)
VALUES (' "$account" ' ,' "$password" ' ,' "$sex" ' ,' "$name" ' ,' "$introduce" ' ,' "$prosition" ' ,' "$createtime" ')");