Learning PHP and MySQL
Example 04-03 Lefthand expressions
<?php
3 = $locations; // bad - a value can not be assign to the literal 3
$a + $b = $c; //bad - the expression on the left isn't one variable
$c = $a + $b; //OK
$stores = "Becker"." "."Furniture"; // OK
?>
Posted by on 08/03 at 08:08 AM
Next entry: Example 04-04 Order of precedence
Previous entry: Example 04-02 Casting a variable