Daguse Posted October 14, 2006 Share Posted October 14, 2006 I really don't know where to start with this one, so any help would be good.I am wanting to make a drop down menu for date selection. I don't realy want to use java if I don't have too. Any help would be great and thank you! Quote Link to comment Share on other sites More sharing options...
AndyB Posted October 14, 2006 Share Posted October 14, 2006 Javascript 'date pickers' are a dime-a-dozen as a quick Google will show you. Assuming that you don't want to use javascript, then your choices are restricted to a 3-dropdown set - days 1-31, months 1-23, years whenever to whenever. You could handcode it all using plain html or use php to loop through and create your dropdowns. It's up to you how you to decide. Quote Link to comment Share on other sites More sharing options...
Daguse Posted October 14, 2006 Author Share Posted October 14, 2006 Cool thanks....I may end up going with java if I have to. Quote Link to comment Share on other sites More sharing options...
Barand Posted October 15, 2006 Share Posted October 15, 2006 It's a relatively simple process in PHP to create a dropdown of, say, all dates in the next month or the next 20 Mondays, or next weeks dates.Have a look at these functionshttp://www.php.net/mktimehttp://www.php.net/strtotimehttp://www.php.net/date Quote Link to comment 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.