“INSERT INTO tablename VALUES (value1,value2, etc…)”
the problem is you’re not inserting as many values as there are columns. (or too many.)
To make it easier to keep track, I suggest you add the field names to the query:
“INSERT INTO tablename(field1,field2…) VALUES (value1,value2…)”
That way you know you’re lining things up correctly.
OK, check the number of fields, the number of %s values and also the actual values to be used. If the first field is an auto increment field then you dont need to include it in your insert statement.
Big thank you again guys, you have yet again helped me, if you want me to donate some money to a charity let me know which charity. I like to give something back for people that help me out.