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 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. 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 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 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 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
Archived
This topic is now archived and is closed to further replies.