Anybody have an idea why (and I have been trying for 1 hour now) when I
execute this code that last_change is never update, but all the other
fields are?
I just have no idea!
$DB->query("UPDATE ".get_table_name('users')."
SET last_login=NOW(), last_change=NOW(),
session=?
WHERE user_id=?",
true, $_SESSION['user_id']);