Please can someone tie me like this?
More photos from Iwanttobeher
SELECT *
FROM gallery2
WHERE topic_id="271496"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1822768"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1765234"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1667601"
UNION
SELECT *
FROM gallery2
WHERE topic_id="589772"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1774117"
UNION
SELECT *
FROM gallery2
WHERE topic_id="785265"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1541866"
UNION
SELECT *
FROM gallery2
WHERE topic_id="55179"
UNION
SELECT *
FROM gallery2
WHERE topic_id="285598"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1631952"
UNION
SELECT *
FROM gallery2
WHERE topic_id="171631"
UNION
SELECT *
FROM gallery2
WHERE topic_id="772195"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1725235"
UNION
SELECT *
FROM gallery2
WHERE topic_id="200784"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1816617"