I think il go to work like this.
Category:
cheatingwives
Posted by:
Ok-Jackfruit23
More photos from Cheatingwives
SELECT *
FROM gallery2
WHERE topic_id="1137353"
UNION
SELECT *
FROM gallery2
WHERE topic_id="271333"
UNION
SELECT *
FROM gallery2
WHERE topic_id="171467"
UNION
SELECT *
FROM gallery2
WHERE topic_id="202846"
UNION
SELECT *
FROM gallery2
WHERE topic_id="354667"
UNION
SELECT *
FROM gallery2
WHERE topic_id="170834"
UNION
SELECT *
FROM gallery2
WHERE topic_id="799185"
UNION
SELECT *
FROM gallery2
WHERE topic_id="858228"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1068532"
UNION
SELECT *
FROM gallery2
WHERE topic_id="707110"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1183027"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1763527"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1476826"
UNION
SELECT *
FROM gallery2
WHERE topic_id="610901"
UNION
SELECT *
FROM gallery2
WHERE topic_id="191528"
UNION
SELECT *
FROM gallery2
WHERE topic_id="971738"