Jump to content
MakeWebGames

Recommended Posts

Posted

When I get a problem I persevere and usually find a solution, but I'm not sure what's wrong here :? When a users tries to create a gang they recieve this error message

 

QUERY ERROR: Column count doesn't match value count at row 1
Query was INSERT INTO gangs VALUES('','ThE GaNgStErZ','join if ur invited','','',0,0,100,60,60,5,0,0,'')

 

Anyone know how to fix this :?

Posted

Re: Create Gang Help

Try this and see if it helps..

 

mysql_query("INSERT INTO gangs VALUES('','ThE GaNgStErZ','join if ur invited','','',0,0,100,60,60,5,0,0,'')");

 

or

 

mysql_query("INSERT INTO gangs VALUES('','ThE GaNgStErZ','join if ur invited','','',0,0,100,60,60,5,0,0,'','')");
Posted

Re: Create Gang Help

 

Try this and see if it helps..

 

mysql_query("INSERT INTO gangs VALUES('','ThE GaNgStErZ','join if ur invited','','',0,0,100,60,60,5,0,0,'')");

 

or

 

mysql_query("INSERT INTO gangs VALUES('','ThE GaNgStErZ','join if ur invited','','',0,0,100,60,60,5,0,0,'','')");

 

Lol are you being serious?

Posted

Re: Create Gang Help

 

When I get a problem I persevere and usually find a solution, but I'm not sure what's wrong here :? When a users tries to create a gang they recieve this error message

 

QUERY ERROR: Column count doesn't match value count at row 1
Query was INSERT INTO gangs VALUES('','ThE GaNgStErZ','join if ur invited','','',0,0,100,60,60,5,0,0,'')

 

Anyone know how to fix this :?

plain and simple, you added something to the gang table, probably a gang pic mod and didn't modify your insert query, as mike09 said post you gangs table structure and someone will be able to help.

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...