Changes

PHP Operators

5 bytes added, 13:03, 31 May 2007
PHP Comparison Operators
<tr>
<td>==<td>Equal to<td>Returns ''true'' if first operand equals second<td>$myVar = 10; <br>if ($myVar == 10)<br>echo 'myVar equals 10';</td>
<tr>
<td>!=<td>Not equal to<td>Returns ''true'' if first operand is not equal to second<td>$myVar = 10; <br>if ($myVar == 10)<br>echo 'myVar equals 10';</td>
<tr>