<?php
include("auth.php");
include( "../inc/nocache.inc" );
include( "../dbopen.php" );
$id=((!isset($_GET["id"]))?"":$_GET["id"]);
$sSQL = "DELETE FROM guestbook WHERE guestbook_id = " . $id;
mysql_query($sSQL,$link);
mysql_close($link);
header("Location: gb.php");
?>