Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Codecademy

Learn PHP: Arrays and Loops

via Codecademy

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to use for-loops and while-loops to execute the same code multiple times.
Continue your PHP learning journey! So much of the information that you encounter on the web is arranged in lists—creating and manipulating arrays is an integral component of developing meaningful programs. You will also learn how to use for-loops and while-loops to execute the same code multiple times.



### Take-Away Skills
By the end of this course, you will be able to:
* Create lists of ordered information using arrays.
* Access and modify individual elements in the array.
* Use array methods to add and remove information.
* Perform repetitive actions using loops.

### Notes on Prerequisites
We recommend that you complete [Learn PHP: Conditionals and Loops](https://www.codecademy.com/learn/learn-php-conditionals-and-logic) before completing this course.

Syllabus

  • Learn PHP Arrays: Learn about PHP ordered and associative arrays and how this data type is used to store, access and manipulate data.
    • Lesson: Ordered Arrays
    • Quiz: Ordered Arrays Quiz
    • Lesson: Associative Arrays
    • Quiz: Associative Array Quiz
    • Project: Bob's Budget
  • PHP Loops: Loops are a key way to control the execution of code. Learn how to use them effectively in PHP.
    • Lesson: Loops
    • Quiz: Loops
    • Project: FizzBuzz
    • Informational: Next Steps

Taught by

Kenny Lin

Reviews

4.4 rating at Codecademy based on 116 ratings

Start your review of Learn PHP: Arrays and Loops

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.