Re: [PHP] Using SELECT IN with arrays

2005-02-02 Thread W Luke
On Thu, 3 Feb 2005 08:37:44 +0800, Jason Wong <[EMAIL PROTECTED]> wrote: > > $doms is a "master array" of a user's domains. $d is a > > comma-seperated and unexploded list of domains to filter the SELECT > > down with. (error checking is already in place) > > 1) make both $d and $doms into arra

Re: [PHP] Using SELECT IN with arrays

2005-02-02 Thread Jason Wong
On Thursday 03 February 2005 07:58, W Luke wrote: > $doms is a "master array" of a user's domains. $d is a > comma-seperated and unexploded list of domains to filter the SELECT > down with. (error checking is already in place) 1) make both $d and $doms into array 2) use array_intersect() to fin