Skip to content

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');
See also  How to write a comment in CSS?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.