if (!isset($words[$word]
        $words[$word]=0;
else
        $words[$word]++;
}
change the 0 to 1 of course. Anyway the function Jason suggested is probably faster.


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to