document.location.href=\"index.php\" "; exit; } $update = "UPDATE ".$table." SET hits_in='$hits_in' WHERE id='$id'"; $updatesql = mysql_query($update); setcookie("$user", "yes", time()+86400, "/Topsites", "$your_url", 0); //header("Location: index.php"); echo ""; ?>