Changes

PHP Operators

6 bytes added, 14:28, 30 May 2007
PHP Assignment Operators
We breifly covered the basic PHP assignment operator in the [[An Introduction to PHP Variables]] chapter. We will now look at this and other assignment operators in more detail.
The ''assignment operator'' is used to assign a value to a variable and is represented by the equals (=) sign. The assignment operator can also 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).
The following table lists the seven assigmnet assignmet operators available in PHP, togetehr together with descriptions and examples of their use:
<table border="1" cellspacing="0">