$array = array('hey','hi','hello');
if (in_array('hei',$array)) echo 'aaa';
This will not work, because there is no "hei" in the array, but I need something to search not with exact string.
In mySQL we have WHERE x ALIKE y. What can we use to find for alike string in array, not exact?
Thanks