Changes

Jump to: navigation, search

PHP Operators

4 bytes added, 20:01, 29 May 2007
Assignment Operators
Operators in PHP work with ''operands'' that specify the variables and values that are to be used in the particalar operation. The number and location of tyhese operands in relate to the operators (ie before and/or after the operator) depends on the type of operator in question. In this chapter of PHP Essentials we will exlore each type of operator and explain how they are used in relation to their operands.
== PHP Assignment Operators ==
The ''assignment operator'' is used to assign a value to a variable and is represented by the equals (=) sign. The assignment operator can be combined with arithmetic operators to combine an assignment with a mathemtatical operation (for example to multiple one value by another and assigning the result to the variable.

Navigation menu