Here's what I have:
- 1 database table containing approx 2000 records, indexed. (The important column is a string of 25 characters).
- An array containing approx 30 strings of 25 characters.
What I'd like to do:
- I need to check the array against the database table to find any string matches.
- I need to be able to identify what values in the array only match any in the table, if any
I don't really want to have to run each string in the array against the table in a separate query fashion using a loop, I'm thinking there must be a more efficient way to do this.
Any ideas would be appreciated. I'm using PHP 5.4.3 and MySQL.