You found what you were looking for…
More photos from Onlynudechicks
SELECT *
FROM gallery2
WHERE topic_id="123853"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1670179"
UNION
SELECT *
FROM gallery2
WHERE topic_id="755592"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1568980"
UNION
SELECT *
FROM gallery2
WHERE topic_id="800602"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1397250"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1542782"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1145160"
UNION
SELECT *
FROM gallery2
WHERE topic_id="372053"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1655254"
UNION
SELECT *
FROM gallery2
WHERE topic_id="82085"
UNION
SELECT *
FROM gallery2
WHERE topic_id="491895"
UNION
SELECT *
FROM gallery2
WHERE topic_id="978952"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1783161"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1521859"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1058425"