/ Published in: PHP
Use it similar to in_array function of PHP.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function in_array_str_i($key, $array){ foreach($array as $element){ return true; } } return false; } 'string1', 'string2', 'StriNg3' );