Forget my previous advice. I'd misunderstood it. BABA Yoshihiko wrote:
This seems a matter of database design. For simple solution, use COUNT in SQL. But having a record for each item would probably exceed the limit of either harddisc or database one day.
-- BABA Yoshihiko -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php