Ver Mensaje Individual
  #5 (permalink)  
Antiguo 12/09/2006, 10:23
Avatar de ferrins
ferrins
 
Fecha de Ingreso: mayo-2005
Mensajes: 64
Antigüedad: 19 años
Puntos: 1
ai madre, todavía no lo he solucionado;
formulario:
<?
if (isset($_GET["action"])){
echo $_GET["action"];
}else{
?>
<h2>Inserta Review</h2><br>
<form method="post" action="formulari.php?action=checkgrup">
Nom grup: <input type="text" name="grup">
<input type="submit" name="submit" value="Comprovar">
<?
if (isset($msg)){
echo $msg;
}
?>
</form>
<? } ?>

pagina funciones: (el codigo de la función es para comprobar que entra y sale)

function checkgrup($grup) {
$prova="Hola";
$msg=$prova.$grup;
return ($msg);
}

Que os parece, lo del getaction y eso?