Location: PHPKode > projects > News Manager - RSS aggregator > newsmanager/test_query.php
<?php

include("header.php");

//$news_item="select * from rssurl_newsitem limit 1";
$news_item="select * from rsschannel_category";
$news_res=$pg_sql->query_pass($news_item,"4");

$cnt=count($news_res);

echo "<pre>";
print_r($news_res);
echo "</pre>";
/*
for($i=0;$i<$cnt;$i++)
{
    echo $news_res[$i]['newsitem_id']."<br>";

	echo $news_res[$i]['title']."<br>";
	echo "<HR>";

	echo $news_res[$i]['pubdate']."<br>";
	echo "<HR>";

//	echo html_entity_decode($news_res[$i]['description'])."<br>";
//	echo "<HR>";

}
*/
echo md5("admin");

include('footer.php');

?>
Return current item: News Manager - RSS aggregator