[main] [misc] [graphics] [page design] [site design] [xhtml] [css] [xml] [xsl] [schema] [javascript] [php] [mysql]

HVCC Home
Blackboard HVCC
Blackboard Manual
Faculty Association

php main
1. what is php
2. http basics
3. php basics
* 4. php expressions
a. php operators
b. php math operators
c. php other operators
5. php client side
6. php flow control
7. php manual


print version

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.

Directions for surfing with audio.

Expressions and Statements

These tutorials are about PHP and its use for server-side Web programming.

This tutorial has three (3) sub-sections.

Expressions and Statements

The basic building block of a program is the statement. A statement is a piece of code that does something.

Statements themselves are made up of expressions and operators. An expression is a piece of code that evaluates to some value. An operator is a code element that acts on an expression in some way. For instance, a minus sign can be used to tell the computer to delete the value of the expression after it from the expression before it.

Since there isn't really much to understand about expressions except for the assembly of them into compound expressions and statements using operators, we are going to look at the operators used to turn expressions into more complex expressions and statements.

This section takes a look at operators and how to use them to form complex expressions and statements. It starts with a general overview and then proceeds to look at different types of operators and their uses.

[top]