dcsimg

Loops & Decisions in PHP - The ABC's of PHP Part 8

May 8, 2009

[From PHPBuilder]

In 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.

In most languages the most basic of these is the "if" statement, which as its name implies does something if a given condition is true.

The article continues at http://phpbuilder.com/columns/peter_shaw05062009.php3








The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers