I'm not sure if what I am looking for is a subquery, etc.
My site currently allows searches by zip code, gender, etc.
I want to make it so that users can select to only show profiles which has a field in photos named xratedphoto = 1. In other words only show profiles with xrated photos.
Since a query is already being built do go through the members table, how can I first query to gather the members who have xratedphotos before I perform the 2nd query on those results?
I hope I explained well enough what I am looking for. 🙂
Thanks in advance,
Chris