PHP & MySQL

Chapter 2: Control Structures

PageTitleFilename
74Using If... Statements
75Using If... Else Statements
77Using Ternary Operators
78Using If... Elseif... Statements
79Using Switch Statements
80Using Match Expressions
83Using While Loops
85Using Do While Loops
88Using For Loops
89Using For Loops (Continued)
92Looping Through Keys and Values
93Looping Through Keys and Values (Continued)
97Using Include Files
101Example