Ver original$x = [1, 3, 5];$q = join(', ', $x);$q = "WHERE columna IN($q)"; // WHERE columna IN(1, 3, 5)