Location: PHPKode > projects > PhpProMembers > phpProMembers3/public_html/admin/block_delete.php
<?php 
	$page_account = "admin";
	require_once('include.php'); 
?>
<?php
$colname_Recordset1 = "1";
if (isset($HTTP_GET_VARS['id'])) {
  $colname_Recordset1 = (get_magic_quotes_gpc()) ? $HTTP_GET_VARS['id'] : addslashes($HTTP_GET_VARS['id']);
}
mysql_select_db($database_dbConnection, $dbConnection);
$query_Recordset1 = sprintf("DELETE FROM block WHERE id = %s", $colname_Recordset1);
$Recordset1 = mysql_query($query_Recordset1, $dbConnection) or die(mysql_error());

$updateGoTo = "block_list.php?user_name=".$HTTP_GET_VARS['user_name'];
header(sprintf("Location: %s", $updateGoTo));
?>
Return current item: PhpProMembers