why not use a database?
handling huge amounts of data is what they're for , right?
you could keep it cleaner by going relational - just a thought
when somebody enters a search, check the 'search terms' table... if it
does not already exist, insert it.
then, add a record to the 'searches run' table, with the ID of the term
and the date, whatever other info you want.
a simple query can pull all terms and a count of searches run for that
term's ID, or a list of dates, whatever... i think that's how I'd
approach it, if nothing better turns up...
Michael Evangelista, Evangelista Design
Web :
www.mredesign.com Blog :
www.miuaiga.com
Developer Newsgroups:
news://forums.mredesign.com