I can see exactly what you're doing like this
Category:
WhiteCheeks
Posted by:
armani1_mila
More photos from WhiteCheeks
SELECT *
FROM gallery2
WHERE topic_id="1080621"
UNION
SELECT *
FROM gallery2
WHERE topic_id="457715"
UNION
SELECT *
FROM gallery2
WHERE topic_id="19851"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1664744"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1748783"
UNION
SELECT *
FROM gallery2
WHERE topic_id="864210"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1665998"
UNION
SELECT *
FROM gallery2
WHERE topic_id="80667"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1144936"
UNION
SELECT *
FROM gallery2
WHERE topic_id="954964"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1666859"
UNION
SELECT *
FROM gallery2
WHERE topic_id="733845"
UNION
SELECT *
FROM gallery2
WHERE topic_id="905837"
UNION
SELECT *
FROM gallery2
WHERE topic_id="758509"
UNION
SELECT *
FROM gallery2
WHERE topic_id="207208"
UNION
SELECT *
FROM gallery2
WHERE topic_id="537118"