thank you. unfortunately, though, now I'm returning all records, and not just the desired ones.
SELECT *
FROM tabl31, table2
WHERE '$query_item_number' = t2_item1
OR '$query_item_number' = t2_item2
OR '$query_item_number' = t2_item3
OR '$query_item_number' = t2_item4
OR '$query_item_number' = t2_item5
OR '$query_item_number' = t2_item6
OR '$query_item_number' = t2_item7
OR '$query_item_number' = t2_item8
OR '$query_item_number' = t2_item9
OR '$query_item_number' = t2_item10
AND t1_season = '$season'
AND t2_fk = t1_id
GROUP BY t1_shot_name
The deal: table1 holds information about a photo shoot; table2 holds item numbers and color codes for each item number in that shoot. The item number + color code combination is unique, hence the multiple rows of the same type. Very un-3rd-normal-form. Anyway, the query above is giving me all the records in table1.
thanks again...
kurt