Let me show you how it’s done.
Category:
feet
Posted by:
EGsToes
More photos from Feet
SELECT *
FROM gallery2
WHERE topic_id="1584388"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1427181"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1073432"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1724783"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1742799"
UNION
SELECT *
FROM gallery2
WHERE topic_id="296980"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1454140"
UNION
SELECT *
FROM gallery2
WHERE topic_id="399706"
UNION
SELECT *
FROM gallery2
WHERE topic_id="527656"
UNION
SELECT *
FROM gallery2
WHERE topic_id="482908"
UNION
SELECT *
FROM gallery2
WHERE topic_id="640927"
UNION
SELECT *
FROM gallery2
WHERE topic_id="518606"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1619796"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1387768"
UNION
SELECT *
FROM gallery2
WHERE topic_id="632535"
UNION
SELECT *
FROM gallery2
WHERE topic_id="399119"