|
Normalising the tables and using a JOIN that linked images to categories would make more sense from a data storage point of view.
But anyhoo
use a RS with a "ORDER BY category" clause
loop around the recordset as normal
keep a flag with the current category, when it changes write out the category name then go on with the loop.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
|