Jump to content
MakeWebGames

Recommended Posts

Posted

I require this to be an item add line.

mysql_query("insert into inventory VALUES('',$item,$winner,1)",$c) or die(mysql_error())

I currently have this -

item_add($item,$winner,1);

It dosent cause an error with my attempt but it dosent credit to the users inventory either. Can some please help point out my error. Many thx in advance.

Posted

Re: Small Problem.

 

I require this to be an item add line.

mysql_query("insert into inventory VALUES('',$item,$winner,1)",$c) or die(mysql_error())

I currently have this -

item_add($item,$winner,1);

It dosent cause an error with my attempt but it dosent credit to the users inventory either. Can some please help point out my error. Many thx in advance.

mysql_query("INSERT into inventory VALUES('', '$item', '$winner', '1'), $c) or die(mysql_error());

?

Posted

Re: Small Problem.

mysql_query("insert into inventory VALUES('',$item,$winner,1)",$c) or die(mysql_error()) is a line of code from v1 Isomerizer . I run v2 so i require that line to be a item_add so it autoquintifies the items back into users inventory.

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