Should I work like this?
Category:
Bulges
Posted by:
KingAdonis06
More photos from Bulges
SELECT *
FROM gallery2
WHERE topic_id="949286"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1585611"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1591452"
UNION
SELECT *
FROM gallery2
WHERE topic_id="769843"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1093308"
UNION
SELECT *
FROM gallery2
WHERE topic_id="633118"
UNION
SELECT *
FROM gallery2
WHERE topic_id="34940"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1507535"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1374373"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1299600"
UNION
SELECT *
FROM gallery2
WHERE topic_id="847459"
UNION
SELECT *
FROM gallery2
WHERE topic_id="892097"
UNION
SELECT *
FROM gallery2
WHERE topic_id="681485"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1723789"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1313045"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1779290"