if condtion in varibale value how to change in loop in php code example
Example: if condtion in varibale value how to change in loop in php
function checkVal($param) {
return ($param == 'Wildcats' || $param == 'Bulldogs') ? "Yes" : "No";
}
echo checkVal('Bears');