problem with user.api_gifts and mysql