Ciao a tutti, copio il codice per rendere l'idea di quello che vorrei fare:

$submit=$_POST['submit'];


switch($submit) {
case 'invia':
prova();
break;

case 'modifica':
prova2();

break;
}
.
.
.
.
<form id="info" name="info" action="news.php" method="post" />
.
.
.
<input type="submit" name="submit1" value="invia">
<input type="submit" name="submit2" value="modifica">

perchè non va?