Loading video...
Nested Conditional Control Structures
- PHP allows the nesting of control structures, which means the statement group of one conditional control structure can contain other conditional control structures.
- There is no limit to the number of levels of nesting allowed.
- Common control structure errors include:
- Incorrectly specified test conditions
- Forgetting a break statement
- Incorrectly placing an opening or closing curly brace
Nested Conditional Control Structures
Lecture Slides are screen-captured images of important points in the lecture. Students can download and print out these lecture slide images to do practice problems as well as take notes while watching the lecture.
- Intro
- Lesson Overview
- Nested Control Structures
- Coding Conventions
- Debugging Control Structures
- Debugging Control Structures
- Incorrectly Specified Test Conditions and Forgetting a Break Statement
- Incorrectly Placing an Opening or Closing Curly Brace
- Debugging Tips
- Homework Challenge
- Homework Challenge (cont.)


































Start Learning Now
Our free lessons will get you started (Flash® 10 required).
Sign up for Educator.comGet immediate access to our entire library.
Features Overview