Re: need a little code effeciency help?
$var = array('1','2','3','4','5','6','7','8','9');
$var2 = array('3','5','7','10');
if (in_array($ir['loved'],$var2) && in_array($ir['location'],$var)) { die("You got your lovin for today!"); }
else if (in_array($ir['location'],$var)) { die("You should not be here, you are under aged!"); }
Not tested but should work