Latest News
$db = pg_connect("host=auction port=5432 dbname=auction user=auction");
$type = substr($_REQUEST['type'],0,10);
$q = " SELECT * FROM news WHERE news_type = '".$type."' ORDER by date_time desc ";
$r = pg_query($q);
while($row_news = pg_fetch_array($r))
{
$i++;
?>
}
?>