0

how to write this:

if - $w is lower or equal to $h
and - $w is greater than 540 - do something

here is my try
in both cases I'm getting error 500

if($w =< $h && $w > 540){
  // do something
}

if($w <= $h && $w > 540){
  // do something
}
provance
  • 877
  • 6
  • 10

0 Answers0