Use core phplist function instead of mysql function