salve ho questo:
Codice PHP:
$idstar=trim($_REQUEST["id"]);
mysql_select_db($db1,$dbconn) or die (mysql_error()." errore connessione db1");
mysql_query("Delete from stars Whrere IDSTAR='$idstar'")... 
mi da questo errore:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Whrere IDSTAR='STAR238''