How do you use \'AND/OR\' in an if else PHP statement? Would it be:
1) AND
if ($status = \'clear\' AND $pRent == 0) { mysql_query(\"UPDATE rent
Yes. The answer is yes. http://www.php.net/manual/en/language.operators.logical.php
Two things though:
&&
||
and
or
$status = 'clear'
$status == 'clear'
=
==