You can either hard-code the variations into your queries (easy to do but a bad idea), or you can build a table saying which categories belong to which files, and join to that (little bit more work, but definitely a better idea).
- Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
Property of The Thread
"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon