Jump to content
MakeWebGames

bamaman

Members
  • Posts

    5
  • Joined

  • Last visited

    Never

bamaman's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Re: i nd help with my item market appreciate the help Deathstar does anyone else know where this would be coming form Warning: Missing argument 1 for item_remove() in /home/bamaman/public_html/global_func.php on line 323 Warning: Missing argument 2 for item_remove() in /home/bamaman/public_html/global_func.php on line 323 Warning: Missing argument 3 for item_remove() in /home/bamaman/public_html/global_func.php on line 323
  2. Re: i nd help with my item market get what your are doing mine works with line 325 as 325. $q=$db->query("SELECT * FROM inventory WHERE inv_userid='$userid' AND inv_itemid='$itmid'"); but I am still gettting Warning: Missing argument 1 for item_remove() in /home/bamaman/public_html/global_func.php on line 323 Warning: Missing argument 2 for item_remove() in /home/bamaman/public_html/global_func.php on line 323 Warning: Missing argument 3 for item_remove() in /home/bamaman/public_html/global_func.php on line 323
  3. Re: i nd help with my item market this is still showing up when I try to remove an item Warning: Missing argument 1 for item_remove() in /home/bamaman/public_html/global_func.php on line 323 Warning: Missing argument 2 for item_remove() in /home/bamaman/public_html/global_func.php on line 323 Warning: Missing argument 3 for item_remove() in /home/bamaman/public_html/global_func.php on line 323 QUERY ERROR: Unknown column 'inv_itmid' in 'where clause' Query was SELECT * FROM inventory WHERE inv_userid='' AND inv_itmid=''
  4. Re: Help with referals. ok now what is the code to add someones referal code to one of the pages (sorry am a noobie)
  5. Re: i nd help with my item market Very new and learning here so bear with me..... changed my item market page to read as previously posted this is the error I get: Warning: Missing argument 1 for item_remove() in /home/bamaman/public_html/global_func.php on line 323 Warning: Missing argument 2 for item_remove() in /home/bamaman/public_html/global_func.php on line 323 Warning: Missing argument 3 for item_remove() in /home/bamaman/public_html/global_func.php on line 323 QUERY ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND inv_itmid=' at line 1 Query was SELECT * FROM inventory WHERE inv_userid= AND inv_itmid= and this is line 321-325 on my global_func.php: 321. } 322. function item_remove($user, $itemid, $qty) 323. { 324. global $db; 325. $q=$db->query("SELECT * FROM inventory WHERE inv_userid={$user} AND inv_itmid={$itmid}");
×
×
  • Create New...