function checkVal($param) { return ($param == 'Wildcats' || $param == 'Bulldogs') ? "Yes" : "No"; } echo checkVal('Bears');