Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This needs to be done in PHP language! Array1.php Create a PHP script that will perform the following tasks. Create an associative array called 'Scalendar'
This needs to be done in PHP language!
Array1.php Create a PHP script that will perform the following tasks. Create an associative array called 'Scalendar' 2. 1. Fill the array with the months of a year, starting with January and going in order to December 3. Use the print r) function to display the contents of the array 4. Place a header (hl) on the page with the following words 'FOR loop 5. Use a for loop to display the contents of the array Month 1: January Month 2: February Month 12: December 6. 7. Place a header (hl) on the page with the following words 'FOREACH loop Use a foreach loop to display the contents of the array Month 1: January Month 2: February Month 12: December 8. Place a header (h1) on the page with the following words 'WHILE loop, SWITCH statement 9 Use a while loop and a switch to display the following information Month 1: January has 31 days Month 2: February has 28, or 29 days Month 12: December has 31 daysStep 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