If we do this:

if($rov['chislo_1']&&$row['chislo_2'] > 0 ){ 

then Else will be executed only when these two variables are below zero, and how to do it like this:

 if($rov['chislo_1'] или $row['chislo_2'] > 0 ){ 

Divide them does not pass! Thank you in advance

    1 answer 1

     if($rov['chislo_1'] || $row['chislo_2'] > 0 ) 
    • if it means that if at least one number is greater than zero, then if ($ rov ['chislo_1']> 0 || $ row ['chislo_2']> 0) - Maksym Prus
    • yes that's right, thank you =) - oOKomarOo