Error Number: 1136 Column count doesn't match value count

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
MiniMonty
Forum Contributor
Posts: 196
Joined: Thu Sep 03, 2009 9:09 am
Location: UK

Error Number: 1136 Column count doesn't match value count

Post by MiniMonty »

Hi all,

as title really - I'm getting an error:
Error Number: 1136 Column count doesn't match value count at row 1

Only started happening when I started including the value from a drop down menu in the INSERT query.

Any ideas ?

(ps - I have three more drop downs and a multiple choice block of checkboxes to add in too) !

Best wishes
Monty
mikosiko
Forum Regular
Posts: 757
Joined: Wed Jan 13, 2010 7:22 pm

Re: Error Number: 1136 Column count doesn't match value c

Post by mikosiko »

post your table structure and your INSERT
MiniMonty
Forum Contributor
Posts: 196
Joined: Thu Sep 03, 2009 9:09 am
Location: UK

Re: Error Number: 1136 Column count doesn't match value c

Post by MiniMonty »

Thanks - I got it sorted - was about the auto increment in column 2
Post Reply