Learning PHP and MySQL

6.2. Chapter 6 Questions

Question 6-1.

Where is the first element in a numeric array?

Question 6-2.

Create a numeric array called $months that contains the months of the year.

Question 6-3.

Use array() to create an associative array of months and the number of days in the month.

Question 6-4.

Display the $months array.

See the Appendix for the answers to these questions.

Категории