I only dabble in php and know just enough to be dangerous.
i have a situation where i will have an array of id numbers and i need to see if each of those id numbers exists in my database and if it does, do something with it.
I assume i will need a loop built into my query, but i’m not sure how to do it and how this relates to performance. I.e. - is there a way to loop through the array and do a one time check to see if those values match what’s in the database column or do i have to do a query for each array item? I’ll be dealing with arrays in length from 12 to 200 or more (average probably 100)
any code snippets would be great as my php is pretty rough… (prefer to actionscript all day).
thanks for any help you can give!