/ Published in: PHP
![](/img/icon_sav.png?v3)
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' );
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)