Good tutorial.

Carrying on from if statements...
Every statement should be terminated with a ;. Because the PHP interpreter program ignores whitespace characters during coding then it is important to remember to terminate every statement. e.g.:
PHP Code:
echo "Test..."; $a = $b; //would be the same as
echo "Test...";
$a = $b;
Notice that the if (condition) does not terminate in a ;, as it compares an expression to see if its true or false. However because it often carries more than one argument you need to use the { and } around your true condition code to group them together.