Let me show you how it’s done.
Category:
feet
Posted by:
EGsToes
More photos from Feet
SELECT *
FROM gallery2
WHERE topic_id="1241461"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1259965"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1169240"
UNION
SELECT *
FROM gallery2
WHERE topic_id="663416"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1257053"
UNION
SELECT *
FROM gallery2
WHERE topic_id="710673"
UNION
SELECT *
FROM gallery2
WHERE topic_id="639183"
UNION
SELECT *
FROM gallery2
WHERE topic_id="249239"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1100661"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1033418"
UNION
SELECT *
FROM gallery2
WHERE topic_id="708224"
UNION
SELECT *
FROM gallery2
WHERE topic_id="739305"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1497502"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1748119"
UNION
SELECT *
FROM gallery2
WHERE topic_id="579108"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1661312"