What's up friends, I've been trying to correct this error but I couldn't, could someone help me?
is for a storage query for a top frags box.
I would be very grateful if you could help me, my error says a function but I don't know where it is or if it has to be created
is for a storage query for a top frags box.
I would be very grateful if you could help me, my error says a function but I don't know where it is or if it has to be created
SQL:
$storageData = $SQL->query('SELECT `key`, `value` FROM `player_storage` WHERE `player_id` = '.$player->getID().' AND `key` = 65118')->fetch();
if ($storageData) {
$storageValue = (int) $storageData['value'];
}