Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #condtion #varibale #change #loop #php
ADD COMMENT
Topic
Name
6+9 =