Hi,
I'm creating a room booking system and so far I have 3 drop down menus at the top of the screen where the user can select the day, month and year.
I have hard coded the dates so that they can be written to the database when required, rather than add every date to the database and pull them back.
I want the date to dispaly the current date when the user opens the page. Does anyone know how I can set the Selected Values of the Option so that is will use today's day, month and year?
Thanks.
I'm creating a room booking system and so far I have 3 drop down menus at the top of the screen where the user can select the day, month and year.
I have hard coded the dates so that they can be written to the database when required, rather than add every date to the database and pull them back.
I want the date to dispaly the current date when the user opens the page. Does anyone know how I can set the Selected Values of the Option so that is will use today's day, month and year?
Thanks.