Hi all,
I am a little stumped on a bit of php I need. I have a form, which amongst other fields, has two select fields - date & time.
What I want, is to populate the select fields with the following:
date field to contain date in format dd-mm-yyyy listing all dates from the present date (at the time of viewing) to 31-12-2005.
time field to contain time in format hh:mm (24 hr) listing all times around the clock in 15 min intervals (i.e 12:00, 12:15, 12:30)
Is this possible using PHP? I would have thought so, but can't think how to go about achieving these results.
Any ideas? Thanks for any help,
Jonathen