Would this do the trick ?
Category:
WifeWantstoPlay
Posted by:
retrocpl
More photos from WifeWantstoPlay
SELECT *
FROM gallery2
WHERE topic_id="428343"
UNION
SELECT *
FROM gallery2
WHERE topic_id="759650"
UNION
SELECT *
FROM gallery2
WHERE topic_id="293473"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1569897"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1311427"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1107847"
UNION
SELECT *
FROM gallery2
WHERE topic_id="442624"
UNION
SELECT *
FROM gallery2
WHERE topic_id="609250"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1739077"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1811468"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1749593"
UNION
SELECT *
FROM gallery2
WHERE topic_id="661319"
UNION
SELECT *
FROM gallery2
WHERE topic_id="609212"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1674704"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1326781"
UNION
SELECT *
FROM gallery2
WHERE topic_id="279111"