PHP Statements and Beginning Loops (Page 1 of 6 )
We discussed statements briefly in our last article and even got a sneak peek of an IF-statement. Sure I mean, the image was blurry, and the moment it saw us it ran off into the forest. But we saw it. Honest. So in this article, we're going to take a much closer look at PHP statements and even start learning about loops.
What's the deal with Bigfoot sightings anyway? And UFO sightings. I'm a firm believer in both mind you (the idea of a 12-foot-tall gorilla as my butler makes me all warm and fuzzy inside), but how come no one can take a video where it isn't either blurry, the camera isn't shaking, or the person spends half of the tape filming their own feet?
I mean I can understand the shaky camera part. A giant hairy dude in the middle of a forest watching you might make you tremble in your boots a little. Of course that person would also tremble watching a Robin Williams flick. If you ever need proof of a Sasquatch with a growth disorder, you need look no further. The guy looks like he stapled shag carpeting to his body.
Conditional Statements
Sometimes in a program you want to have a piece of code execute when a condition is met. To do this, you use conditional statements. There are three types of these in PHP. These are the If statement, the Else statement, and the Elseif statement.
Next: If >>
More PHP Articles
More By James Payne