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
You have 2 issues here.
use == for comparison. You've used = which is for assignment.
==
=
use && for "and" and || for "or". and and or will work but they are unconventional.
&&
||
and
or