man. it's nice to make an personal tutorial for starters.. it's really great... but ithink that u can add some other codes, lik IF ELSE... WHILE DO WHILE FOR... so if you don't mind.. i will help u
IF. to compare conditions....
CODE<?
//basic syntax
IF (TRUE) {
echo "if the condition in '()' is true he will execute the code between '{ }'";
}
ELSE {
echo "if the condition in '()' is false he will execute the code from the else '{}' <BR>"; //u can use html in strings of your php code
echo "by the way there is no chance to the code get here because of the boolean value TRUE in '()'";
} // you just can put; at the end of the } in else... just put on the if, if the else doesn't exist... u can just let the end of } without; ... no problem in this case
?>
this was a if one... I'm not so good in english, so i just don't know if it explain well