Hello,
How do I set the date in a <select> based field to be todays?
To be exact I have a date range selection for issuing a MySQL query like:
Start date: [day] [month] [year]
and I want the values for day, month, year to be todays date.
How does one do that in PHP?
Of course [day] [month] [year] are all <select> based drop down lists
and their values are generated by PHP code using for loops.
So my question is how do I find out what todays date is and then set
[day] to todays value, [month] to be current month value, etc?
Regards,









Bookmarks