Mysql where id is in array NB: the syntax is: SELECT * FROM table WHERE column IN(‘value1′,’value2′,’value3’)