| <?php | |
| require_once "/home/data/httpd/eclipse-php-classes/system/dbconnection_dashboard_rw.class.php"; | |
| require_once $_SERVER['DOCUMENT_ROOT'] . "/projects/stats/hostname.php"; | |
| $db_connection = new DBConnectionDashboard(); | |
| $db_handle = $db_connection->connect(); | |
| $query = "ALTER TABLE ".stats_table()." ADD ("; | |
| // Mail stats | |
| $query .= "num_articles int)"; | |
| echo $query."<br>"; | |
| mysql_query($query,$db_handle) or die("Could not alter table: ".mysql_error()); | |
| $db_handle = null; | |
| $db_connection = null; | |
| ?> |