Is this what you want?
Category:
Beardsandboners
Posted by:
sircumsalot917
More photos from Beardsandboners
SELECT *
FROM gallery2
WHERE topic_id="724172"
UNION
SELECT *
FROM gallery2
WHERE topic_id="369394"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1278984"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1055207"
UNION
SELECT *
FROM gallery2
WHERE topic_id="700964"
UNION
SELECT *
FROM gallery2
WHERE topic_id="809818"
UNION
SELECT *
FROM gallery2
WHERE topic_id="892022"
UNION
SELECT *
FROM gallery2
WHERE topic_id="698707"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1182714"
UNION
SELECT *
FROM gallery2
WHERE topic_id="849254"
UNION
SELECT *
FROM gallery2
WHERE topic_id="436752"
UNION
SELECT *
FROM gallery2
WHERE topic_id="925387"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1733986"
UNION
SELECT *
FROM gallery2
WHERE topic_id="502174"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1754455"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1663203"