| <?php | |
| require_once($_SERVER['DOCUMENT_ROOT'] . "/projects/stats/hostname.php"); | |
| function get_last_date($handle){ | |
| $query = "SELECT stats_date FROM ".stats_table()." ORDER BY stats_date DESC LIMIT 1"; | |
| $result = mysql_query($query,$handle); | |
| $row = mysql_fetch_assoc($result); | |
| return $row['stats_date']; | |
| } | |
| ?> |