Location: PHPKode > projects > phpBlogger > admin/removeban.php
<?php
###############################
#delete.php       version 1.1.#
###############################
$id = (int)$_GET['id'];
include ('header.php');
?>
<div id="headermenu">Manage</div>
<?php
$sql = 'DELETE FROM banip WHERE banid = '.$conn->qstr($id).'';
	if($conn->Execute($sql) === false) {
		print '<br /><div id="error">error: '.$conn->ErrorMsg().'</div><br />';
	}
	echo "<div id ='information'>&nbsp;Successfully. ";
$conn->Close();
?>
<a href="banlist.php">Ban List</a>.</div>
</div></div></div>
<?php include ('footer.php'); ?>
Return current item: phpBlogger