Matching a variable against several options
In MySQL there is a way to do this:
Is there a way to do the same with PHP (the logic, not the query)?
SELECT something FROM tablename WHERE something IN (2,3,4,5,6);
Is there a way to do the same with PHP (the logic, not the query)?
