I want to go out like this.
Category:
nsfwoutfits
Posted by:
HotPants141
More photos from Nsfwoutfits
SELECT *
FROM gallery2
WHERE topic_id="1024987"
UNION
SELECT *
FROM gallery2
WHERE topic_id="88822"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1099243"
UNION
SELECT *
FROM gallery2
WHERE topic_id="468983"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1215487"
UNION
SELECT *
FROM gallery2
WHERE topic_id="101497"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1634886"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1652561"
UNION
SELECT *
FROM gallery2
WHERE topic_id="90791"
UNION
SELECT *
FROM gallery2
WHERE topic_id="828257"
UNION
SELECT *
FROM gallery2
WHERE topic_id="75395"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1152720"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1344864"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1807243"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1477591"
UNION
SELECT *
FROM gallery2
WHERE topic_id="225407"