Posted by Janwillem Borleffs on 10/10/31 11:51
Mike wrote:
> I could use various function such as strtolower() etc and try all
> possibilities but is there an easier way ignore the case so the search
> with pick up both 'School' and 'school'?
>
When you run PHP5, you can use the str_ireplace() function; otherwise, you
can use preg_replace with the "i" modifier.
JW
Navigation:
[Reply to this message]
|