$yyy_query = mysql_query("SELECT * FROM yyy WHERE ad=".$_GET['ad']." ORDER BY id DESC");while ($yyy = mysql_fetch_array($yyy_query)) {