Location: PHPKode > scripts > Ban Control > Ban Control/ban_control/ban_delete2.php
<?php
require('include/header.php');
$bannedid = $_GET['id'];

//read out the faqs
?>






<table class="table" width="100%" class="table">
	<tr class="table_header">
		<td>Delete a Ban</td>
	</tr>
	<tr class="row1">
		<td>
<?php
//read out the faqs



echo $question;

$sql = "DELETE FROM ".$prefix."banned WHERE b_id=".$bannedid;
 

 
if (!mysql_query($sql,$con))
   {
   die('Error: ' . mysql_error());
   }
 echo "Your ban is deleted succesfully from the database.";



?>
		</td>
	</tr>
</table>

<?php
//end read out the faqs
 

require('include/footer.php');

 ?>
Return current item: Ban Control