This installed fine but when I went to use my item, I got this
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 'WHERE ID_MEMBER = 1' at line 1
File: /home/content/t/h/e/thegame212/html/board/Sources/shop/items/Cards.php
Line: 109
Here is the code on that line
$result = db_query("UPDATE {$db_prefix}members SET totalTimeLoggedIn = totalTimeLoggedIn - {$value1} WHERE ID_MEMBER = {$ID_MEMBER}", __FILE__, __LINE__);
EDIT: Sorry, I figured it out.