Daily News – 7/10/07


July 10th, 2007

include('/web/script/thinkerx/electiongeek.com/Connections/blog_news.php');
?>

$date = '2007-07-10';
//connect to the database
mysql_connect('db.sabren.com',$username,$password);
@mysql_select_db($database) or die( "Unable to select database");

// run the query
$query = "SELECT * FROM news_db WHERE day LIKE '%$date%' ORDER
BY ID DESC";
$result=mysql_query($query);

// start with last_seen_day as an empty so that the first
// real date is different, triggering the header
$last_seen_day = "";

// now loop through the result set
while ($row = mysql_fetch_assoc($result)) {

// show the entry
echo ('

‘ . $row["title"] .

“);
}

mysql_close();
mysql_free_result($result);
?>



Posted in Daily News, Election 2008 | No Comments »

Leave a Reply




Upcoming Events

  • July 14th 2009
    • Congressional Election
    • California 32nd


  • November 3rd 2009
    • Gubernatorial Elections
    • New Jersey
    • Virginia