Chapter 04 – Arrays
- county.php – An associative array of counties
- beatles.php – For each loop and an array
- months.php – HTML drop down list from an associative array
- dates.php – Dates and an foreach loop
- array_exercise_answers.php – Array exercise answers
- array_examples.php – Array examples
- dates1.php – Using loops and if statements
- flow_and_loops_exercise_answers.php – Flow and loop
exercise - using_loops_calendar.php – Using loops in a form
This code sample is from a chapter in the book PHP-Tutorials:Programming with MySQL and PHP.
You can read more about the book by going here: