PDA

View Full Version : SQL error 1136 with Forum.PHP


TalkHardRandy
08-11-2002, 04:15 AM
Okay, I have resolved this but I need to understand why I was getting it in the first place.

I attempted to add a forum to by board & recieve the following error:


mysql error: Column count doesn't match value count at row 1

mysql error number: 1136

script: http://www.talkhardonline.com/forum/forum/admin/forum.php


All I had added was a single hack which threw an extra value in there. Once I removed that, it worked again. I have talked with the hack creator who says they didn't have any problems with theirs. And as a test, I removed another value, place his back into it, and ran the query again - IT WORKED!

Is there a limit on the number of values you can pass via a MySQL query within PHP? And does that question even make sense?

MrLister
08-11-2002, 04:58 AM
Are you sure that the query was valid?

TalkHardRandy
08-11-2002, 05:36 AM
I ran it straight from the database too... it was the same syntax and everything... I'm looking for the exact wording right now...

Logician
08-23-2002, 09:08 AM
probably your first modification was incorrect (missing/extra , or smt.).. Nothing to worry about..