Page 1 of 1

column count doesnt match at row 1

Posted: Thu Sep 17, 2009 8:44 pm
by brmcdani
What exactly does column count doesnt match at row 1 mean?

Re: column count doesnt match at row 1

Posted: Thu Sep 17, 2009 8:48 pm
by requinix
It means the number of columns mentioned in your INSERT query isn't the same as the number of values you tried to insert.

Next time don't assume that somebody knows what you're talking about: give a lot more information.

Re: column count doesnt match at row 1

Posted: Thu Sep 17, 2009 8:50 pm
by brmcdani
Well it's an error message. I just wanted to know what it meant so there was no need to include anything else.

Re: column count doesnt match at row 1

Posted: Thu Sep 17, 2009 10:13 pm
by requinix
brmcdani wrote:Well it's an error message. I just wanted to know what it meant so there was no need to include anything else.
No, not true. PHP is infamous for error messages that don't let strangers know every detail of your application by giving a generic message corresponding to some code they can't see.