Home  >  Article  >  Backend Development  >  Column count doesn't match value_PHP教程

Column count doesn't match value_PHP教程

WBOY
WBOYOriginal
2016-07-13 10:52:291447browse

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','...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn