<?php
include"conectdb.php";
$id = $_GET['id'];
$query = mysql_query("DELETE FROM fotos where id='$id'"); //command that deletes the record
echo "<script> window.location='listar.php'; </script>";
?>
Can anyone help me verify if this correct? I have a problem in receiving the "id" line 3!
thanks


