Question: 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!

This needs to be done in PHP language! Array1.php Create a PHP

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 days

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!