ho messo

die(mysql_error());

e viene

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 '$sql' at line 1


cosa devo fare?!?! se faccio

die('$sql');
la query è giusta... ma non la esegue!!