• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Modern Acc Track Player Items

1. Any error? Please post...
2.
Code:
foreach($SQL->query('SELECT `itemtype` AS `item type`, `player_id` AS `player id`, `count` AS `count` FROM `player_items`[B][SIZE=5]where[/SIZE][/B] player_id = 2525 ORDER BY `player_id` DESC LIMIT 100') as $hist) {
I think "where" should be on caps, so it's "WHERE"...
3. I think there's missing an space between `player_items` and where ;)
 
Last edited:
the error is here

Code:
$SQL->query('SELECT id FROM players WHERE name = "'.$_POST['name'].'"')->fetch();

i cant add values to variable name to select a players
 
Back
Top