Also i tried to do a delete.php but isn't working.
Can someone tell what's wrong?
Code:
<?php
include_once 'config_db.php';
if(isset($_GET['remove_id']))
{
$res=mysql_query("SELECT file FROM tbl_ficheiros WHERE id=".$_GET['remove_id']);
$row=mysql_fetch_array($res);
mysql_query("DELETE FROM tbl_ficheiros WHERE id=".$_GET['remove_id']);
}
?>
Comment