problem with user.api_gifts and mysql (2)