I am looking for something that can do this in php:
MySQL Database: dates
+-----+----------------+
| id | date_due |
+-----+----------------+
| 2 | 2002-08-26 |
| 3 | 2002-08-26 |
| 4 | 2002-08-30 |
| 5 | 2002-09-05 |
| 6 | 2002-09-06 |
| 7 | 2002-09-07 |
...............................
So, when php reads these values like so:
Week 1:
2
3
4
are due this week
Week 2:
5
6
7
are due in 2 weeks
Also, once we get past that week, 08-30-2002, it will not show that week, and move week 2 values to week 1, and week 3 to week 2.... etc
I want it to dynamicly update so it always gets whats do this week, next week, and 3 weeks ahead..... so it can forecast what is supposed to be due that week.
Thanks again,