Forum Moderators: coopster
if (($x==5 && $y==4) ¦¦ ($x==9 && $y==4)) { //do something }
If its only $x thats changing, you can also use a switch statement:
switch ($x) { case 5: //do something break;
case 9: //do something break; }
dc
if ($y == 4 && ($x == 5 ¦¦ $x == 9)) { //do something }