ciao raga dovrei cancellare un utente da due tabelle
users
id|username|password

datiusers
id2|nome|cognome

"DELETE FROM users,datiuser WHERE users.id = datiuser.id2 AND id='$id'"

ma mi da errore un errore di sintassi

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 'WHERE users.id = datiuser.id2 AND id='9'' at line 1

ma la delete a me sembra giusta o sbaglio??