hi,
i am given such scenario:
- i run a script and was given an array of email address at least 200 of them (array $useremail)
- i were to compare this array with sql table 'member' and eliminate those that are already in e table.
i thought of using php search array method to do it:
bool in_array ( mixed $needle , array $haystack [, bool $strict ] )
but imagine if there were 1000 email in e 'member' table, will this cloak the system? is there a better way to do it?
i am given such scenario:
- i run a script and was given an array of email address at least 200 of them (array $useremail)
- i were to compare this array with sql table 'member' and eliminate those that are already in e table.
i thought of using php search array method to do it:
bool in_array ( mixed $needle , array $haystack [, bool $strict ] )
but imagine if there were 1000 email in e 'member' table, will this cloak the system? is there a better way to do it?
Comment