Finally got what I need. Thoughts?
Category:
GayKink
Posted by:
Radicaldreamer357
More photos from GayKink
SELECT *
FROM gallery2
WHERE topic_id="782316"
UNION
SELECT *
FROM gallery2
WHERE topic_id="601149"
UNION
SELECT *
FROM gallery2
WHERE topic_id="476902"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1620912"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1279636"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1654609"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1684612"
UNION
SELECT *
FROM gallery2
WHERE topic_id="351022"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1401681"
UNION
SELECT *
FROM gallery2
WHERE topic_id="559972"
UNION
SELECT *
FROM gallery2
WHERE topic_id="772952"
UNION
SELECT *
FROM gallery2
WHERE topic_id="245763"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1528608"
UNION
SELECT *
FROM gallery2
WHERE topic_id="813962"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1791026"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1156622"