I have two tables:
- posts - holds post information
- listen - holds information on what other users you are listening to. (what users posts you want to view)
The structure of listen is:
- id(uniqueid)
- userid(the users unique id)
- listenid(id of a user they are listening too)
How would I gather all the entries from listen that mach the active users userid and then use those to find all the posts that match any of the found listenid values so as to create a query of the combined users posts I want to view?