Answers for "php find part of string in array"

PHP
0

php find part of string in array

foreach($array as $item){
  if(strpos($item,"mysearchword")!== false){
    echo 'found';
  }
}
Posted by: Guest on May-05-2021

Browse Popular Code Answers by Language