change the 0 to 1 of course. Anyway the function Jason suggested is probably faster.if (!isset($words[$word] $words[$word]=0; else $words[$word]++; }
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php