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 $pub_query = "SELECT * FROM pub ORDER BY pub_Date DESC"; $pub_resID = mysql_query($pub_query, $db_link); $pub_count = mysql_num_rows($pub_resID); ?>
|
|
|
|
|
|