|
Posted by Karl Groves on 08/15/06 15:17
I'm looking to make a keyword array.
Let's say I have the following array:
$words = array
("foo","lorem","foo","ipsum","bar","foo","dolor","sit","foo","bar","amet","
lorem");
I'd like to create a new array with the top X words, ordered by occurrence
In the above example, the new array would be:
$keywords = array("foo","bar","lorem");
Any help is appreciated.
--
Karl Groves
www.karlcore.com
Navigation:
[Reply to this message]
|