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个数不相等所选成的.
上一篇: 基于什么样的理由PHP比其它CGI
推荐阅读
-
MySQL添加用户错误:ERROR 1364 (HY000): Field 'ssl_cipher' doesn't have a default value解决方法
-
Field 'id' doesn't have a default value错误解决方法
-
Aandroid 解决apk打包过程中出现的“Certificate for
doesn't match any of the subject alternative names: [*.aktana.com, aktana.com] -
ERROR: Field 'PostId' doesn't have a default value Exception in thread "main" org.hibernate.exception.GenericJDBCException: coul
-
[MySQL] BLOB, TEXT, GEOMETRY or JSON column 'body' can't have a default value错误
-
Column count doesn't match value count at row 1_MySQL
-
Column count doesn't match value count at row 1_MySQL
-
ç»è®°é¡µé¢åºç°Column count doesn't match value count at row 1
-
MySQL添加用户错误:ERROR 1364 (HY000): Field 'ssl_cipher' doesn't have a default value解决方法
-
mysql创建用户报错ERROR 1364 (HY000): Field 'ssl_cipher' doesn't have a default value