12-20-2007, 03:49 AM
|
#3 (permalink)
|
|
The Frequenter
Join Date: Dec 2007
Location: In my basement
Posts: 386
Thanks: 47
|
Something like this might work...
$var = strtolower($var);
if (isset($vars[$var])) {
$vars[$var]++;
} else {
$vars[$var] = 1;
}
buuuuut, I think this would be a built in function... Lemme check the documentation.
edit: Yeah, look here for some nice information... I think...
http://nl3.php.net/manual/hu/function.strcmp.php
|
|
|