View file wap.rzz.ru/inc/last_news.php

File size: 450B
<?
include $DOCUMENT_ROOT.'/inc/db/config.php';
$query = "SELECT * FROM news ORDER BY `date` DESC ;";
if (!$query) echo mysql_error();
$result = mysql_query($query);
if (!$result) echo mysql_error();
$otvet = mysql_fetch_array($result); 
   	echo '<u>'.rus('Последние Новости').'</u>';
	echo '<br/>';
	echo '<br/>';
	echo '.:: ';
	print_r(rus('Новость: ').$id = rus($otvet ['news'])); 
	echo ' ::.';
	echo '<br/>';
	echo '<br/>';
 ?>