PHP
  Home arrow PHP arrow Page 5 - PHP Statements and Beginning Loops
Dev Shed Forums 
Administration  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Dedicated Servers 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Download TestComplete 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
IBM Rational Software Development Conference
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
PHP

PHP Statements and Beginning Loops
By: James Payne
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 3 stars3 stars3 stars3 stars3 stars / 5
    2007-11-05

    Table of Contents:
  • PHP Statements and Beginning Loops
  • If
  • Else
  • Elseif
  • Here We Go Loop de Loop
  • For Loop

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
     
    ADVERTISEMENT

    Dell PowerEdge Servers

    PHP Statements and Beginning Loops - Here We Go Loop de Loop
    (Page 5 of 6 )

    You ever have one of those jobs where you do the same thing over and over all day, every day? Sure you have. Take the job of hamburger flipper. Before becoming the web's writer extraordinaire, I once worked at a burger restaurant. They sat me through orientation and gave me a giant book to study (which I never did; it was burger flipping, not rocket science). Then they told me my title and I was baffled: Top Bun Operator. Again: Top Bun Operator. No kidding. One guy "operated" the top bun and was responsible for its toppings, while a second guy was the Bottom Bun Operator. Apparently doing the whole bun was much too complicated.

    One day, though , I became the Neo of the hamburger world. I was operating not only the top bun and the bottom bun, but the hot dog bun as well. All around me employees were betting their $5.25 an hour salaries and yelling "He's a madman!"

    After that I quit, because let's face it: I had taken the job as far as it could go.

    Can you imagine the poor dunce that gets reprimanded for not knowing how many pickle slices go on the top bun?

    Anyway. Loops in PHP (and other programming languages) make the computer do repetitive tasks for you. I mean, that is what computing is all about. The are several types of loops, starting with the For Loop.

    More PHP Articles
    More By James Payne


       · Hey thanks for stopping by. In this article I discuss conditional statements like...
       · On page 3:There's the following...
       · I enjoy your writing style and the subject matter but there are a few...
     

       

    PHP ARTICLES

    - Setting Up a Web-based Image Hosting Service
    - Comparing Files and Databases with PHP Bench...
    - Setting Up a Web-Based Image Gallery
    - Using Timers to Benchmark PHP Applications
    - Benchmarking Applications with PHP
    - Setting Up a Web-Based File Manager: PHPfile...
    - Developing a Modular Class For a PHP File Up...
    - Setting Up a Web-Based File Manager: bfExplo...
    - Defining a Custom Function for File Uploader...
    - Parsing Child Nodes with the DOM XML extensi...
    - Creating an Error Handling Module for a PHP ...
    - Accessing Attributes and Cloning Nodes with ...
    - Retrieving Information on Selected Files wit...
    - Handling HTML Strings and Files with the DOM...
    - Building File Uploaders with PHP 5

     
    Accelerating Trading Partner Performance
     
    Competing on Analytics
     
    Cost Effective Scaling with Virtualization and Coyote Point Systems
     
    Five Checkpoints to Implementing IP Telephony
     
    Hosted Email Security: Staying Ahead of New Threats
     




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway