News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPBuilder.com:
Loops & Decisions in PHP - The ABC's of PHP Part 8
May 07, 2009 @ 10:26:34

PHPBuilder.com has posted the eighth part of their introductory "ABCs of PHP" series today. This time the focus is on looping and decision functionality (like if/while/for/etc).

n any given computer language (PHP is no exception) there has to be a way to allow the running code to decide between doing 2 different things. If there wasn't then software would not be able to adapt based on operating conditions, or it wouldn't be able to decide between two different users.

They look at using: if statements and operators, for loops and while loops. When they look at the operators, they talk about the differences between equals/not equals, grater than/less than and two of the boolean operators - AND and OR.

2 comments voice your opinion now!
loop decision if while for operator tutorial introduction beginner


blog comments powered by Disqus

Similar Posts

SitePoint PHP Blog: The Joy of Regular Expressions [1]

PHPMaster.com: Patterns for Flexible View Handling, Part 1 - Working with Composites

SitePoint PHP Blog: Diffbot: Crawling with Visual Machine Learning

DevShed: Introducing the Flyweight Pattern with PHP 5

Rob Allen's Blog: Tutorial Notes - Zend_Auth in French & Using Oracle


Community Events





Don't see your event here?
Let us know!


api interview podcast refactor list community language unittest testing series install threedevsandamaybe release framework developer introduction laravel code wordpress opinion

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework