![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
12/09/2006, 10:23
|
![Avatar de ferrins](http://static.forosdelweb.com/customavatars/avatar100913_1.gif) | | | Fecha de Ingreso: mayo-2005
Mensajes: 64
Antigüedad: 19 años, 8 meses 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? |