Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Summary For this assignment we will create a custom calendar based on the user's selection. Each day in the calendar will be a link to
Summary For this assignment we will create a custom calendar based on the user's selection. Each day in the calendar will be a link to another page which displays specific information for the date selected. Consider the page below: Select the year: 2000 Select the month: January Show whole year: 0 Submit Jan 2010 Sun Mon Tue Wed Thu Fri Sat 3 4 10 11 17 18 24 25 5 6 7 8 9 12 13 14 15 16 19 20 21 22 23 26 27 28 29 30 Feb 2010 Sun Mon Tue Wed Thu Fri Sat 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 Mar 2010 Sun Mon Tue Wed Thu Fri Sat 1 2 3 4 5 6 Specifications 1. When index.php loads the page should only show the form. The calendar will only be displayed after the user clicks "Submit. 2. The form should allow the user to select a year (Current year 1] to 2050) and a Month (1 - 12). a. DO NOT hard code the years into the HTML. The options should be dynamically generated using PHP Page 1 of 2 b. Include an option to select the entire year. c. When the user clicks Submit on index.php the page should refresh and show the calendar the user selected. 3. When the form loads without data from the user a message should appear below the form to tell the user - Simple instructions for the user to follow. 4. The Calendar should be an html table with appropriate headers. 5. Each day of the month will be a hyperlink to another page. 6. Create another page (date.php). a. date.php will need to display the following information based on the day the user clicked on index.php b. The date formatted as: You selected: Jan. 21, 2010 c. The current season: Spring, Summer, Fall, or Winter i. A quote specific to each month. Create an array of quotes - one per month. Read from this array to display the quote. The quote should be a
and include the author. d. If the date was not selected, then the user should be redirected back to index.php. e. Provide a link on date.php to take the user back to index.php. Summary For this assignment we will create a custom calendar based on the user's selection. Each day in the calendar will be a link to another page which displays specific information for the date selected. Consider the page below: Select the year: 2000 Select the month: January Show whole year: 0 Submit Jan 2010 Sun Mon Tue Wed Thu Fri Sat 3 4 10 11 17 18 24 25 5 6 7 8 9 12 13 14 15 16 19 20 21 22 23 26 27 28 29 30 Feb 2010 Sun Mon Tue Wed Thu Fri Sat 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 Mar 2010 Sun Mon Tue Wed Thu Fri Sat 1 2 3 4 5 6 Specifications 1. When index.php loads the page should only show the form. The calendar will only be displayed after the user clicks "Submit. 2. The form should allow the user to select a year (Current year 1] to 2050) and a Month (1 - 12). a. DO NOT hard code the years into the HTML. The options should be dynamically generated using PHP Page 1 of 2 b. Include an option to select the entire year. c. When the user clicks Submit on index.php the page should refresh and show the calendar the user selected. 3. When the form loads without data from the user a message should appear below the form to tell the user - Simple instructions for the user to follow. 4. The Calendar should be an html table with appropriate headers. 5. Each day of the month will be a hyperlink to another page. 6. Create another page (date.php). a. date.php will need to display the following information based on the day the user clicked on index.php b. The date formatted as: You selected: Jan. 21, 2010 c. The current season: Spring, Summer, Fall, or Winter i. A quote specific to each month. Create an array of quotes - one per month. Read from this array to display the quote. The quote should be aand include the author. d. If the date was not selected, then the user should be redirected back to index.php. e. Provide a link on date.php to take the user back to index.php
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started