Image

Imagepkbarbiedoll wrote in Imagephp

Listens: Cinema Strange - Speak, Marauder!

Matching a variable against several options

In MySQL there is a way to do this:

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)?