Apoccalypse
New Member
- Joined
- Apr 15, 2017
- Messages
- 114
- Solutions
- 2
- Reaction score
- 4
Hello guys,
I've tried to install this achievements system to my ACC Gesior
[Gesior AAC] Achievements + Secret
but I got an error:
This is my 145 and 146 line of characters.php:
I think that a problem is that I have no proper SQL table in my xampp.
Could some help me to create that table?
Thanks for help
BUMP
I've tried to install this achievements system to my ACC Gesior
[Gesior AAC] Achievements + Secret
but I got an error:
HTML:
Parse error: syntax error, unexpected 'SELECT' (T_STRING) in C:\xampp\htdocs\pages\characters.php on line 145
This is my 145 and 146 line of characters.php:
PHP:
$achievementPoints = $SQL->query('SELECT SUM(`value`) AS `sum` FROM `player_storage` WHERE `key` LIKE "200%" AND `player_id` = ' . $player->getId())->fetch();
if(!$achievementPoints['sum']) { $achPoints = '0'; } else { $achPoints = $achievementPoints['sum']; }
I think that a problem is that I have no proper SQL table in my xampp.
Could some help me to create that table?
Thanks for help
BUMP
Last edited by a moderator: