On Tue, Sep 13, 2011 at 7:29 AM, Ashley Sheridan <a...@ashleysheridan.co.uk>wrote:
> SELECT * FROM table WHERE userID IN (1,2,3,4,5,etc) > +1. And this is a great place to use implode(): $sql = 'select ... where userID in (' . implode(',', $ids) . ')'; David