if (isset($_POST['clear'])){
$sql = mysql_query("DELETE FROM hitcounter","ALTER TABLE hitcounter AUTO_INCREMENT=0") or die (mysql_error());
}
I am trying to make a hitcounter that counts the amount of hits on a page. I have everything done except the clear button. I need the hit count to go back to 0 but i can't get it to work