DBASE:
| ID | apointment | Date |
| 1 | meet jack at 5:00pm | 23/12/2003 |
| 2 | meet jane at 1:00pm | 23/12/2003 |
| 3 | meet rob at 2:00am | 23/12/2003 |
| 4 | meet jude at 1:30pm | 22/12/2003 |
| 5 | meet fred at 5:09pm | 22/12/2003 |
| 6 | meet Lucy at 5:40pm | 21/12/2003 |
Say I have the above list in my DB and I want to output them to the browser.
EXAMPLE:
23/12/2003
Meet Jack at 5:00pm
23/12/2003 <-- the date is the same as the above so I dont need it here
Meet Jane at 1:00pm
I would like it to look like this ...
23/12/2003
Meet Jack at 5:00pm
Meet Jane at 1:00pm
Meet rob at 2:00am
22/12/2003
meet jude at 1:30pm
In other words when I loop through the dbase I want to only list the same date once, not one for every entry.
Currently, after I SELECT, I do a while loop but have not had much luck. Don't have much working code to show here and was wondering if anyone can give some suggestions...
I hope I was clear enough..