首页  >  文章  >  后端开发  >  Column count doesn't match value_PHP教程

Column count doesn't match value_PHP教程

WBOY
WBOY原创
2016-07-13 10:52:291448浏览

Column count doesn't match value count at row 1

mysql_query("insert into lz_members(username,password,email,adminid,groupid,timeoffset,customshow,posts,gender) value('$uid','$pwd','$mail','$lastip','0','10',9999,2,$post,$sex)") or die(mysql_error());

仔细检查可以发现是insert into的字段与value个数不相等所选成的.

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/632494.htmlTechArticleColumn count doesn't match value count at row 1 mysql_query(insert into lz_members(username,password,email,adminid,groupid,timeoffset,customshow,posts,gender) value('$uid','$pwd','...
声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn