$result=mysql_query("INSERT INTO table_zc(account,password,n
来源:学生作业帮 编辑:大师作文网作业帮 分类:综合作业 时间:2024/11/10 02:05:14
$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”错误,是哪里不对了
请问这个提示“
Parse error:syntax error,unexpected T_VARIABLE in C:\localhost\zc\source\check.php on line 48”错误,是哪里不对了
因为你的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" ')");
$result=mysql_query(" INSERT INTO table_zc(account,password,name,sex,introduce,prosition,createtime)
VALUES (' "$account" ' ,' "$password" ' ,' "$sex" ' ,' "$name" ' ,' "$introduce" ' ,' "$prosition" ' ,' "$createtime" ')");
$result=mysql_query("INSERT INTO table_zc(account,password,n
insert into
INSERT INTO 语法
INSERT INTO语法
String sql="insert into tb_IPcount values("+this.times+",'"+
select Insert into和Insert into select的区别
The password to your account is
sql中 insert 和 insert into 的区别
insert into select 语句,需要多insert一个字段怎么办
take into account
翻译!take into account
mysql_query("select Count(1) from account 怎么判断设置 输出数值?