I don't understand why this is not working.
I also tried using MySQL function 'CURDATE()'. The value that keeps getting returned is '0'.PHP Code:function countHits()
{
global $wpdb;
$query = "SELECT count(*) FROM ".$this->Table." WHERE time = 2005-02-26";
return $this->wpdb->get_var($query);
}
I am trying to return rows from a specific date.
Thanks,
Chuck









Bookmarks