wow.
LordShryku - i cant believe how simple that is. it seems to work. im not sure how it will display because there is only one date in the database at the moment.
i have got it printing that one out to the web page, but im not sure how i break the count from the group of dates so that i can format the page correctly. is that to do with list (var, val)?
drew010 - although i dont fully understand what is going on i assume that the script is doing eaxcly what my pseudo code says. im working though it. i have more control over the output too.
thankyou both for replying, its opened a can of worms, but thats a good thing!
cheers,
Morgn.