Simple function for using in_array() with case insensitive querying.
function i_in_array($needle, $haystack)
{
return in_array(strtolower($needle), array_map("strtolower", $haystack));
}
A bunch of ramblings about PHP programming, JQuery, MySQL and other 'stuff'