I'm trying to find the positions of a word in a long text type column.
I can only see the position of the exactly the same case as the search word.
For example
$word = find_me;
print $pos= strpos($column,$word);
This will only find the position of find_me, not Find_me or FIND_ME.
I see the string function stripos is case insensitive, but works only for PHP5. I don't want to upgrade to php5.
I can't find insensetive positioning with preg or ereg either.
Does anyone have any ideas?
future thanks.