You are here: Re: Ignoring Case « All PHP « IT news, forums, messages
Re: Ignoring Case

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация