Jump to content

something i'd like to know


gibigbig

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/221819-something-id-like-to-know/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.