문자열이 포함 된 경우 php 찾기
if (strpos($string, 'substring') !== false) {
// do stuff
}
php 의 strpos
<?php
// We can search for the character, ignoring anything before the offset
$newstring = 'abcdef abcdef';
$pos = strpos($newstring, 'a', 1); // $pos = 7, not 0
?>