require_once("server_settings.php");
$db_link = mysql_connect(SERVER, USERNAME, PASSWORD);
if( !$db_link || !mysql_select_db(DB_NAME) ) {
echo "ERROR connection to mysql SERVER";
die();
}
//get news in desending order
$news_query = "SELECT * FROM news ORDER BY newsDate DESC";
$news_resID = mysql_query($news_query, $db_link);
$news_count = mysql_num_rows($news_resID);
?>
:: Phillips, Gardill, Kaiser & Altmeyer ::
© Copyright
2003 Phillips, Gardill, Kaiser & Altmeyer. All Rights Reserved. info@pgka.com
|