Jump to content

[V2] Add item query


Recommended Posts

  • 2 months later...

Re: [V2] Add item query

Wow, this is old....but no-one answered, and I actually know this one:

(note: found topic using search function >.>)


print "Inside the box were $gain bandaids.";
$db->query("INSERT INTO inventory   VALUES('',$itemidexplore,$userid,$gain)",$c); 


change x to the id number of the item you want to input. Say if your bandaids were id number 2, you'd put $itemidexplore=2;

Link to comment
Share on other sites

Join the conversation

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

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