i found this absolute banger after months of searching, this isn't my post, all credit goes to the poster. Ty for sharing.
Category:
SaraJay
Posted by:
Prudent_Market_2916
More photos from SaraJay
SELECT *
FROM gallery2
WHERE topic_id="413481"
UNION
SELECT *
FROM gallery2
WHERE topic_id="15181"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1709839"
UNION
SELECT *
FROM gallery2
WHERE topic_id="497673"
UNION
SELECT *
FROM gallery2
WHERE topic_id="420004"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1171673"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1604851"
UNION
SELECT *
FROM gallery2
WHERE topic_id="262629"
UNION
SELECT *
FROM gallery2
WHERE topic_id="56040"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1313362"
UNION
SELECT *
FROM gallery2
WHERE topic_id="27571"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1580226"
UNION
SELECT *
FROM gallery2
WHERE topic_id="853493"
UNION
SELECT *
FROM gallery2
WHERE topic_id="456345"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1162093"
UNION
SELECT *
FROM gallery2
WHERE topic_id="364903"