Home > php教程 > php手册 > Column count doesn't match value

Column count doesn't match value

WBOY
Release: 2016-06-13 09:53:36
Original
1180 people have browsed it

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个数不相等所选成的.

Related labels:
source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template