Welcome to WebmasterWorld Guest from 18.104.22.168
Forum Moderators: incrediBILL
I hope I'm calling these html menus by their correct name. I'm talking about the dropdowns created in html with <select></select> tags.
I'm developing a tracking program that connects to a mySQL database for my own use. In it I have a number of html menus used to select beginning and ending dates for different screens. I want the dropdowns to remember the last setting I've selected before submitting the form.
I can write a value to the database but I'm not sure how to programatically add "selected" to the menu's code to cause a certain value to be displayed the next time the page is displayed.
I hope I'm being clear enough. Any help would be greatly appreciated.