CORT0619 Posted November 20, 2011 Share Posted November 20, 2011 I have a drop down list that contains expiration dates in the format 01/12 and if the user selected a certain drop down list I would like that same date selected. Does anyone know the code to do this? Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/251506-echoing-drop-down-list/ Share on other sites More sharing options...
QuickOldCar Posted November 20, 2011 Share Posted November 20, 2011 I think would have to explain better of what you wish to do, also some current code that you have. Quote Link to comment https://forums.phpfreaks.com/topic/251506-echoing-drop-down-list/#findComment-1289844 Share on other sites More sharing options...
CORT0619 Posted November 20, 2011 Author Share Posted November 20, 2011 I figured it out. I had the correct code I just also had extra code. The only thing I wanted to do was have a value selected from a drop down list if the user had previously selected the item in the drop down list. Quote Link to comment https://forums.phpfreaks.com/topic/251506-echoing-drop-down-list/#findComment-1289847 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.