Basic PHP Control Structures
This article continues from PHP VariĀables Primer. At this point we will add something that will actually allow you to use what you know to make simple, useful PHP scripts. I'm going to call them control structures. There are quite a few handy control structurs in PHP but we will only cover the FOR loop and IF along with ELSEIF and ELSE as this tutorial is supposed to be just the basics. Check out the PHP code below...
for ($variable=0; $variable<10;...