欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  php教程

Column count doesn't match value

程序员文章站 2022-05-13 14:59:32
...
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个数不相等所选成的.