ошибка:" . mysql_error() . "
"; } elseif (mysql_num_rows($result) == 0) { print "

Новостей нет
"; } else { $rows = array(); while ($row = mysql_fetch_assoc($result)) { $rows[]= $row; } $rows = array_reverse($rows); foreach($rows as $row) { print "

{$row['date']}
{$row['text']}
"; } } ?>