Detener la ejecución de PHP con JavaScript
<input type="Submit" name="a" value="Delete Command" onclick=my_alert();>
Excited Elk
<input type="Submit" name="a" value="Delete Command" onclick=my_alert();>
<input type="Submit" name="a" value="Delete Command" onclick="my_alert(); return false;" />