Jan 09, 2007 in PHP Using PHP 'if' Statements Using 'if' statements, you can check to see if a variable equals something else, and then execute a line of code if it is, and execute another line of code if it isn't. This tutorial is meant for beginners. read more