Puo funzionare cosi?
$comandosql2 ="delete from " . $tabarchivio_giornalista ." where data=$data and luogo=$luogo and titoto=$titolo and sottotitolo=$sottotitolo and autore=$autore and foto=$foto and account=$account ";
mysql_query($comandosql2,$link) or die
("Impossibile cancellare il cliente2. Query: ".$comandosql2."
Errore: ".mysql_error());
mysql_close($link);