Location: PHPKode > projects > PHP Enter > www/admin/delimage.php
<?php include('header.php'); include('options.php'); ?>
<table width="90%" border="0" align="center" cellpadding="2" cellspacing="8" bgcolor="#FFFFFF">
 <tr>
  <td><strong>Members</strong>
  </td>
 <tr>
 <tr>
  <td width="450px">
<?php
$id = $_GET['id'];
$file = $_GET['file'];
$file1 = $_GET['file'];
$file2 = $_GET['file'];
$result = mysql_query("DELETE FROM vgalery WHERE galid ='$id'")
or die(mysql_error());
$file = "../uploads/" . $file;
$file1 ="../maxthumb/" . $file1;
$file2 ="../minthumb/" . $file2;
unlink($file);
unlink($file1);
unlink($file2);
echo '<center>Successfully!';
?>
  </td>
 </tr>
</table>   
Return current item: PHP Enter