I am trying to query a database looking for results that match an array of values I 
have set.
 
The variable array is call group and has about 10 elements.  Is there a way that I can 
query the database using just $group instead of having to use the following:
SELECT * FROM `table` WHERE groupname = '$group[1]' OR groupname='$group[2]' OR 
groupname='$group[3].....
 
I think I saw the answer once before but can't find it anywhere.

Robbert van Andel 


Reply via email to