Insert in MySQL problem

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
frANZi
Forum Newbie
Posts: 12
Joined: Mon Mar 21, 2005 1:52 pm
Location: Croatia

Insert in MySQL problem

Post by frANZi »

Hello!!!

So, this is my problem: I have a table with about 25 columns. On the php script I have loaded variables from session. Then I want to put these data in the table and: "COLUMN COUNT DOESN'T MATCH VALUE COUNT AT ROW 1". But I have checked 100 times, and the column count matches value count. I don't know what to do!!! Please help!!! I am crazy!!!!


Thanks.
User avatar
phpScott
DevNet Resident
Posts: 1206
Joined: Wed Oct 09, 2002 6:51 pm
Location: Keele, U.K.

Post by phpScott »

post the query and the table structure and insert statment after it has been processed.
echo out your query and make sure that it does match maybe your missing some info.
Post Reply