
PHP tutorial: 'IF' statement
Alright now, my first tutorial, just simply copy or write down what I say, and I will add a few notes now and then :D enjoy.
[PHP]
$variable = "Yes";
if ($variable == "Yes") {
echo "Yes, this variable does exist";
} else {
echo "No, this variable does not exist";
}
[/PHP]
If you don't put a correct variable, you should see the second echo's message.