I have the following code which I am trying to add a or operation to it but I am getting an error. Cant see what may be wrong. I want to get if it is set and greater than 0
foreach($av as $day => $a) {
if(isset($price[$ro['Room']['id']][$r['Rate']['id']][$day]) || $price[$ro['Room']['id']][$r['Rate']['id']][$day] > 0) {
$arr_total += $price[$ro['Room']['id']][$r['Rate']['id']][$day];
} else {
$errors[] = "No Set Price for $day";
}
// nice !
if(isset($a[$ro['Room']['title']]) && $a[$ro['Room']['title']] < 1) {
$no_rooms = true;
}
}