Just finished this section. Going at a really snail-pace, but its done. chapter 2 of the text book is quiet helpful in giving detailed explainations on how to to use if/else statements.
syntax : if (conditional operator) action to be taken if true;
if ($temperature>= 30) echo "wear you hat, and stay away from beer!";
else echo"have a blast and take it easy in the sun!";