Hi,
I have a table which has a comp_id, season, group_id (auto increase) and a date (which is set by a user)
Results of this can be seen at (i've only used comp_id 17)
http://www.rugbyleaguenz.com/test.php
What I want to do is do write a code which will get today's date (easy) but then find out which date has passed and what the next date is...
IE: If today's date was 2005-04-10. It would find that the correct group_id would be 86 because group_id 80 has been and gone ..
any ideas???