bir db ye kayıt et bunları sonra basit bir sql sorgusu ile çek

$sor = mysql_query("SELECT * FROM tablo_adin GROUP BY RAND() Limit 1");