query("SELECT * FROM `destoon_article_21` AS t1 JOIN (SELECT ROUND(RAND() * (SELECT MAX(itemid) FROM `destoon_article_21`)) AS itemid) AS t2 WHERE t1.itemid >= t2.itemid ORDER BY t1.itemid ASC LIMIT 20;"); while($yy = $db->fetch_array($yyArr)) { $title=$yy['title']; $linkurl=$yy['linkurl']; ?>