$db->query("INSERT INTO `".USERPREFIX."_users_status` (`name`, `user_status`) VALUES ('{$sql}', '{$member_id['name']}'");
Когда выполняю запрос выводит такую ошибку
Error Number: 1064 The Error returned was: 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 '' at line 1