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

Codecademy

Learn PHP

via Codecademy

Overview

Learn the fundamentals of PHP, one of the most popular languages of modern web development.

### Why Learn PHP?
PHP is a widely used server-side programming language that's become increasingly fast and powerful over the years. PHP works well with HTML and databases, making it a great language for anyone interested in building dynamic web applications.
### Take-Away Skills
In this course, you'll be exposed to fundamental programming concepts in PHP.
### Note on Prerequisites:
Some basic HTML is helpful before taking this course.

Syllabus

  • Getting Started with PHP: Learn how PHP is used in modern web development to create dynamic web pages for visitors.
    • Introduction to PHP
    • Introduction to PHP

  • Learn PHP Variables: Learn about PHP variables and the string and number data types.
    • PHP Strings and Variables
    • PHP Strings and Variables Quiz
    • PHP Numbers
    • PHP Numbers Quiz
    • World Traveler

  • Introduction to Functions in PHP: Get started learning about functions in PHP so you can create your own reusable blocks of code.
    • Introduction to PHP Functions
    • Introduction to PHP Functions
    • Mad Lib Functions

  • PHP Built-in Functions: PHP contains built-in functions for completing common (and some niche) tasks. This course will teach you how to find and use functions.
    • Intro to Built-in PHP Functions
    • Intro to Built-in PHP Functions
    • The Hitchhiker's Guide to PHP Math Functions

  • Learn PHP Arrays: Learn about PHP ordered and associative arrays and how this data type is used to store, access and manipulate data.
    • Ordered Arrays
    • Ordered Arrays Quiz
    • Associative Arrays
    • Associative Array Quiz
    • Bob's Budget

  • HTML Form Handling in PHP: Learn how to use PHP to handle HTML forms.
    • PHP and HTML
    • HTML Form Handling in PHP
    • HTML Form Handling in PHP
    • HTML - PHP Calculator

  • Conditionals and Logic in PHP: Learn about the boolean data type, conditionals, `switch` statements, the ternary operator, comparison operators, and logical operators!
    • Booleans and Comparison Operators
    • PHP Conditionals
    • Magic 8 Ball
    • PHP Number Guessing
    • Logical Operators and Compound Conditions
    • Compound Conditions
    • Common Mistakes with Conditionals
    • Save the Farm!

  • Loops in PHP: Loops are a key way to control execution of code. Learn how to use them effectively in PHP.
    • Loops
    • Loops
    • FizzBuzz
    • Loops in HTML
    • Loops in HTML
    • Repetitive Cafe

  • PHP Form Validation: Learn how to use PHP to validate HTML forms.
    • Introduction to Form Validation
    • Introduction to Regular Expressions
    • Introduction to PHP Form Validation
    • PHP Form Validation
    • Bobby Tables

  • Classes and Objects in PHP: Learn how to use object-oriented programming in PHP.
    • Classes and Objects
    • Classes and Objects
    • Classes and Objects
    • Going to Bed

Reviews

Start your review of Learn PHP

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.