Location: PHPKode > projects > Guestbook! > guestbook/adm/del_gb.php
<?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");

?>
Return current item: Guestbook!