Jump to content
MakeWebGames

Recommended Posts

Posted

i own a v2 game and i after i added a new city i went to add a new shop but it wouldnt let me it showed this error QUERY ERROR: Column count doesn't match value count at row 1

Query was INSERT INTO shops VALUES('',6,'test','test',0)

please help if you can thanks!

Posted

Re: problem creating new shops

do u mean this?

Field Type Collation Attributes Null Default Extra Action

shopID int(11) No auto_increment Browse distinct values Change Drop Primary Unique Index Fulltext

shopLOCATION int(11) No 0 Browse distinct values Change Drop Primary Unique Index Fulltext

shopNAME varchar(255) latin1_swedish_ci No Browse distinct values Change Drop Primary Unique Index Fulltext

shopDESCRIPTION text latin1_swedish_ci No Browse distinct values Change Drop Primary Unique Index Fulltext

 

sorry i dont know anything about tables :oops:

Posted

Re: problem creating new shops

at first sight, you have 4 fields on table, and trying to insert 5....

though... your error says exactly that...

"QUERY ERROR: Column count doesn't match value"

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...