Click to See Complete Forum and Search --> : dynamically updating dates
rbrown
07-21-2007, 06:27 PM
again its a listbox question. i have a listbox which has to continually hold the days and dates of the month for two weeks ahead. as this is for a booking system. is there anyway i could reference a calender or something to keep it continually up to date day by day without me having to change the values day by day?
bathurst_guy
07-21-2007, 11:01 PM
Sure just use PHP date() function and a loop.
rbrown
07-22-2007, 03:56 AM
again its a listbox question. i have a listbox which has to continually hold the days and dates of the month for two weeks ahead. as this is for a booking system. is there anyway i could reference a calender or something to keep it continually up to date day by day without me having to change the values day by day?
Sure just use PHP date() function and a loop.
What is code for that?