Is there a way to reduce the code if I have many "ands" and "ands" in my if request for the same value? I would like to need $row['animal']
only one time:
if ($row['animal'] == "cat") or
($row['animal'] == "dog") or
($row['animal'] == "bird") or
($row['animal'] == "monkey") or
($row['animal'] == "mouse") or
($row['animal'] == "hedgehog"){
echo "many animals";}