Introducing Conditionals

Posted: March 2, 2009

Conditionals basically allow you to tell PHP what to do, depending on certain conditions.  This is where you really start getting into PHP programming.  This is where you’ll find the ‘If…Then’ you may have seen before in programming.

Conditionals aren’t too hard.  The most basic form of a conditional is the ‘If’ statement.

If something is true…
Then do something else
Read the rest of this entry »