Sorry, there are no references found SELECT * FROM referenties WHERE toon='1' AND rouleren='1' ORDER BY RAND() LIMIT 1