| [main] [misc] [graphics] [page design] [site design] [xhtml] [css] [xml] [xsl] [schema] [javascript] [php] [mysql] | |
Note that all external links will open up in a separate window. This is a stripped down version of these pages for older browsers. These pages are really meant to be viewed in a standards compliant browser. |
Flow ControlThese tutorials are about PHP and its use for server-side Web programming. This tutorial has six (6) sub-sections. Flow Control and IterationFlow control and iteration are two very useful features of most programming languages. Without them all programs would have to be linear and if you wanted something to happen three times, you would have to code it three times. Flow control means exactly what it sounds like it should, controlling the flow of something. When using flow control for programming, what you are doing is regulating the order in which the code is executed, how many times it is executed, and if it is executed at all Programmatic flow control can be broken into three primary categories.
There is one last type of flow control, called goto's, after the command that defined the process. Even if languages still support this coding mechanism, none of them will admit to it. It makes for bad code. Instead, our last topic in this section is a brief look at good coding practices as they pertain to working with effective flow control, functions and modularization.
These pages can be found at:
[http://academ.hvcc.edu/~kantopet/]
|