Jump to content


Photo

Error


  • Please log in to reply
2 replies to this topic

#1 RSprinkel

RSprinkel
  • Members
  • PipPipPip
  • Advanced Member
  • 69 posts

Posted 07 September 2006 - 05:23 PM

Hi All,

I am having an issue with one of my databases.

I am trying to enter data from a temp database into a permanent database via a form.

When I hit the submit form I am getting this error.

"Column count doesn't match value count at row 1"

Can someone please give me some ideas as to what is causing this? I have checked all the data fields that this is trying to go in and the data count matches the column count

I have 15 data fields and 15 columns in this database.

Thanks in advance.
RSprinkel
A PHP/MySQL NOVICE I AM

#2 fenway

fenway
  • Staff Alumni
  • MySQL Si-Fu / PHP Resident Alien
  • 16,199 posts
  • LocationToronto, ON

Posted 07 September 2006 - 05:45 PM

Well, apparently, the columns and fields don't match -- that's an error from an failed INSERT statement.  Dump the statement, and let me take a look.
Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.

#3 RSprinkel

RSprinkel
  • Members
  • PipPipPip
  • Advanced Member
  • 69 posts

Posted 07 September 2006 - 06:17 PM

Thanks for the help.  I did just find the error.

The info it was to be placed into the db I didn't have a comma in between 2 of the data and threw it off.

Again, Thanks much for your help.

RSprinkel
RSprinkel
A PHP/MySQL NOVICE I AM




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users