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

Codecademy

Learn PHP: Conditionals and Logic

via Codecademy

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Continue building your PHP skills by mastering conditionals and logic. You'll learn how to make decisions within your programs, allowing you to create dynamic and flexible applications. This course will teach you how to control the flow of your program using various conditional structures.

Syllabus

  • PHP Conditionals: Control the program flow using `if`, `else if`, `else`, `switch`, and ternary syntax.
    • Lesson: Booleans and Comparison Operators
    • Quiz: PHP Conditionals
    • Project: Magic 8 Ball
    • Project: PHP Number Guessing
  • PHP Logic: Create decision-making programs using comparison and logical operators.
    • Lesson: Logical Operators and Compound Conditions
    • Quiz: Compound Conditions
    • Article: Common Mistakes with Conditionals
    • Project: Save the Farm!
    • Informational: Next Steps

Taught by

David Patlut

Reviews

4.5 rating at Codecademy based on 160 ratings

Start your review of Learn PHP: Conditionals and Logic

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.