newphpcoder Posted March 5, 2012 Share Posted March 5, 2012 Hi.. I just want to know how can I display Weeks in a drop down list per year. Thank you Quote Link to comment https://forums.phpfreaks.com/topic/258305-question-about-displaying-weeks-for-the-whole-year-in-a-drop-down-list/ Share on other sites More sharing options...
trq Posted March 5, 2012 Share Posted March 5, 2012 Just use a loop. Quote Link to comment https://forums.phpfreaks.com/topic/258305-question-about-displaying-weeks-for-the-whole-year-in-a-drop-down-list/#findComment-1324061 Share on other sites More sharing options...
newphpcoder Posted March 5, 2012 Author Share Posted March 5, 2012 can you give me an example? Thank you Quote Link to comment https://forums.phpfreaks.com/topic/258305-question-about-displaying-weeks-for-the-whole-year-in-a-drop-down-list/#findComment-1324064 Share on other sites More sharing options...
trq Posted March 5, 2012 Share Posted March 5, 2012 https://developer.mozilla.org/en/JavaScript/Reference/Statements/for Quote Link to comment https://forums.phpfreaks.com/topic/258305-question-about-displaying-weeks-for-the-whole-year-in-a-drop-down-list/#findComment-1324065 Share on other sites More sharing options...
newphpcoder Posted March 5, 2012 Author Share Posted March 5, 2012 I want a select option of year and select options of list of week base on the year that I choose from the first select option. Thank you Quote Link to comment https://forums.phpfreaks.com/topic/258305-question-about-displaying-weeks-for-the-whole-year-in-a-drop-down-list/#findComment-1324070 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.