title: delete image file from folder in server using php
body: <p>How can i delete image file in my server folder called (images) using php i am trying the following code</p>
  
  <pre><code>&lt;a href="delete.php? id=&lt;?php echo $row_DetailRS1['id'];?&gt;"&gt;Delete&lt;/a&gt;
  </code></pre>
  
  <p>this take me to delete.php page</p>
  
  <pre><code>$id=$_GET['id'];            
  $select = mysql_query("SELECT `file_name` FROM `flie_record WHERE `file_records`.`id` = '$id'");
  $image  =mysql_fetch_array($select);
  @unlink('images/'.$image);
  </code></pre>
  
  <p>nothing happening</p>