Created a PHP get_score method