MINI MINI MANI MO

Path : /home/kgembroi/public_html/secureadmin/admin/
File Upload :
Current File : /home/kgembroi/public_html/secureadmin/admin/delete_enquiry.php

<?php
ob_start();
require_once 'library/config.php';
require_once 'library/functions.php';

$sql = "delete from enquiry where id='$_GET[id]'";
$result = mysql_query($sql) or die(mysql_error()) ;
//if successful redirect to delete_multiple.php
if($result)
{	
  	echo "<script type='text/javascript'>alert('Record Sucecessfully Deleted!'); </script>";  
	echo "<meta http-equiv=\"refresh\" content=\"0;URL=show-enquiry.php\">";
} 
else {
echo "<script type='text/javascript'>alert('Sorry, Please try again...!'); </script>";
echo "<meta http-equiv=\"refresh\" content=\"0;URL=show-enquiry.php\">";
}
?>

OHA YOOOO