You could let the database do the work:
This SQL will return rows with the status, and the count of rows with that status.SELECT status, COUNT(*) FROM table WHERE day = ? AND month = ? AND year = ? GROUP BY status
In reply to Re: Counter Issue
by iburrell
in thread Counter Issue
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |