Codice PHP:
<script type="text/javascript"
<!-- 
function 
confirmation() { 
    var 
answer confirm("Attenzione, stai per cancellare un utente del personale o un amministratore. Continuare?"
    if (!
answer){ 
        return 
false
    } 
    else{ 
        return 
true;
    } 

//--> 


<form method="post" action="2.php" onsubmit="return confirmation();"
e togli l'onclick dal bottone