| <?php |
| |
| require_once "/home/data/httpd/eclipse-php-classes/system/dbconnection_dashboard_rw.class.php"; |
| require_once "../stats/hostname.php"; |
| |
| $dbc_cache = new DBConnectionDashboard(); |
| $db_handle = $dbc_cache->connect(); |
| |
| $query = "SELECT stats_date FROM ".stats_table()." ORDER BY stats_date DESC LIMIT 1"; |
| $result = mysql_query($query,$db_handle); |
| $row = mysql_fetch_assoc($result); |
| $last_date = $row['stats_date']; |
| |
| echo "<HTML><BODY>"; |
| echo "QRY: ".$query; |
| echo "</BODY></HTML>"; |
| |
| $query = null; |
| $result = null; |
| $dbc_cache = null; |
| $db_handle = null; |
| |
| ?> |