I want to go out like this.
Category:
nsfwoutfits
Posted by:
HotPants141
More photos from Nsfwoutfits
SELECT *
FROM gallery2
WHERE topic_id="1261275"
UNION
SELECT *
FROM gallery2
WHERE topic_id="964703"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1100787"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1425240"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1175172"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1145970"
UNION
SELECT *
FROM gallery2
WHERE topic_id="597303"
UNION
SELECT *
FROM gallery2
WHERE topic_id="905676"
UNION
SELECT *
FROM gallery2
WHERE topic_id="670882"
UNION
SELECT *
FROM gallery2
WHERE topic_id="183249"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1752169"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1352299"
UNION
SELECT *
FROM gallery2
WHERE topic_id="953398"
UNION
SELECT *
FROM gallery2
WHERE topic_id="94705"
UNION
SELECT *
FROM gallery2
WHERE topic_id="481851"
UNION
SELECT *
FROM gallery2
WHERE topic_id="441854"