Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Get the number of items available
- $result = db_query("
- SELECT COUNT(id)
- FROM {$db_prefix}shop_inventory
- WHERE ownerid = {$ID_MEMBER}", __FILE__, __LINE__);
- $context['shop_inv']['item_count'] = mysql_result($result, 0);
- mysql_free_result($result);
Add Comment
Please, Sign In to add comment