Should we do it like this?
Category:
Innie
Posted by:
Ansfw2020
More photos from Innie
SELECT *
FROM gallery2
WHERE topic_id="177625"
UNION
SELECT *
FROM gallery2
WHERE topic_id="673642"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1694506"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1605129"
UNION
SELECT *
FROM gallery2
WHERE topic_id="918632"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1000448"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1780792"
UNION
SELECT *
FROM gallery2
WHERE topic_id="814047"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1484507"
UNION
SELECT *
FROM gallery2
WHERE topic_id="595441"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1451977"
UNION
SELECT *
FROM gallery2
WHERE topic_id="699899"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1135203"
UNION
SELECT *
FROM gallery2
WHERE topic_id="316090"
UNION
SELECT *
FROM gallery2
WHERE topic_id="400933"
UNION
SELECT *
FROM gallery2
WHERE topic_id="605666"