usa mysql_error();
vedi cosa ti restituisce
Codice PHP:
include("config.php");
$delete mysql_query("DELETE foto FROM news WHERE idnews=$_GET[id]",$db) or die (mysql_error());