View Single Post
Old 12-20-2007, 03:49 AM   #3 (permalink)
Aaron
The Frequenter
 
Join Date: Dec 2007
Location: In my basement
Posts: 386
Thanks: 47
Aaron is on a distinguished road
Default

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
Send a message via MSN to Aaron
Aaron is offline  
Reply With Quote