<?php
// *
// * DeleteDbug.php - Truncates the debug table
// * which also resets the auto-increment counter.
// *
// * This script is called from the debug index
// * page when you click the "clear debug table"
// * button and should never be called other than
// * through that means.
// *
// * Project was written by Phil Petree
// * and is available at philpetree.com
// * and is released under GNU license.
// * Copyright (C) 2010 by Phill Petree. All rights reserved worldwide.
// * US Governement users have restricted rights.
// *
// * Ver 1.0 - Release date: June 22, 2010
// *
// pull in our sql libs and connection data
include "../sqlinc.php";
$query = "TRUNCATE TABLE debug";
$result = mysql_query($query) or die(mysql_error());
Header("Location: index.php");
?>