Would this do the trick ?
Category:
WifeWantstoPlay
Posted by:
retrocpl
More photos from WifeWantstoPlay
SELECT *
FROM gallery2
WHERE topic_id="551246"
UNION
SELECT *
FROM gallery2
WHERE topic_id="616879"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1706766"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1504044"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1057925"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1680926"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1735139"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1267612"
UNION
SELECT *
FROM gallery2
WHERE topic_id="235659"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1340205"
UNION
SELECT *
FROM gallery2
WHERE topic_id="454218"
UNION
SELECT *
FROM gallery2
WHERE topic_id="613840"
UNION
SELECT *
FROM gallery2
WHERE topic_id="626810"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1230421"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1414026"
UNION
SELECT *
FROM gallery2
WHERE topic_id="679003"