Results 1 to 3 of 3
Mar 10, 2010, 13:59 #1
- Join Date
- Oct 2009
- 0 Post(s)
- 0 Thread(s)
Searching for users email contacts in db
I'm busying building a tool for my site where i get a users email contacts which i then want to match with email addresses of users in my database.
This is all fine, but my question is that if a user has hundreds of contacts, and im searching through thousands of users, isn't this going to be a very intensive query?
SELECT userid FROM users WHERE email IN (" . implode(",",$contacts) . ")