SELECT * FROM addatalink.addata WHERE type='gifs' ORDER BY RAND() LIMIT 5 = $query3