U kunt de IN-functie van mysql gebruiken
EDIT:Zoals amosrevira al zei, je moet je strings in de array escapen.
$myarray[1] = "'hi'";
$myarray[2] = "'there'";
$myarray[3] = "'everybody'";
$newarray = implode(", ", $myarray); //makes format 'hi', 'there', 'everybody'
SELECT * FROM myTable WHERE title IN ($newarray);