Is this a possible function?
I need to check if a variable is existent in a list of ones I need to check against and also that cond2 is true eg
if($row[\
$name = $row['name']; if (($name == "1" || $name == "2" || $name == "3") && $cond2) { doThis(); }