Array Without Using More Than 1 Query

Advertisement

I have an array and i'd like to make a query that gets all the records if the id is in this array WITHOUT using more than 1 query. basically this

SELECT * FROM table_name WHERE episode_id IS IN_ARRAY('$array')

i know the above code is wrong but its the best way i can explain it