|
|
| Conditionals [+] Favor-It | |
| |
 |
| | Sort By:
|
Conditional statements are exactly as they say - they are made on certain conditions. For instance, you had a mathematical quiz on your web site and the user needed to answer the first question correctly to go on to the next question, you would use PHP. Author: David Smyth Code: PHP 4.0 |
This article is based on a situation that is given to you in the first article of this series, but just to re-cap on it, here it is again. Your web site needs users to be able to answer a mathematical question, you would use conditional statements. Author: David Smyth Code: PHP 4.0 |
Regular expressions are very powerful tools. For purposes of these examples, it's probably best to think of regular expressions as search terms. PHP searches for expression in the specified variable and returns a value of true if it finds the expression. Author: University of Austin, Texas Code: PHP 4.0 |
|  | |
This chapter describes: What are conditional statements and what are loop statements. This is an essential part of programming and it even offers real life exmaples of code.
Author: Dr. Herong Yang Code: PHP 4.0 |
This tutorial teaches you If's and Else's, and are principally what they're name says. It will take a look at a very basic if and else statement, what they are used for and why.
Author: Fate Code: PHP 4.0 |
This article covers the basics of program control structures, including conditional statements and looping using the if and while statements in PHP. It also contains a brief note regarding embedding code blocks within other code blocks. Author: Darren Hedlund Code: PHP 4.0 |
This article covers the basics of program control structures, including conditional statements and looping using the if and while statements in PHP. It also contains a brief note regarding embedding code blocks within other code blocks. Author: MicroCyb Code: PHP 4.0 |
|  | |
What is a control structure you might ask? Well let's begin with how PHP reads your code. PHP reads code linearly, meaning it'll start from the first line in the program and move on as each line is successfully executed. Author: MicroCyb Code: PHP 4.0 |
There are times when an if statement is not the most efficient way to check for certain conditions. This tutorial explains the switch statement and how it can be used to save time. Author: Administrator Code: PHP 4.0 |
Icon Key >
 - Recently Updated
 - Showcase Listing
|