Quote Originally Posted by slobadog View Post
$db->Execute("update " . TABLE_CUSTOMERS ." where customers_id = '" . (int)$_SESSION['customer_id'] . " set customers_membership = '4'");
I think your SQL is backwards.
Usually the syntax is: UPDATE table SET values WHERE criteria
But you're using: UPDATE table WHERE criteria SET values