Ver Mensaje Individual
  #5 (permalink)  
Antiguo 30/07/2002, 05:19
Avatar de Wakkos
Wakkos
Colaborador
 
Fecha de Ingreso: octubre-2001
Ubicación: (cerca)
Mensajes: 1.795
Antigüedad: 22 años, 6 meses
Puntos: 59
Re: Varios 'submit' en un formulario

Por cuestiones de apuro y tiempo, lño voy a hacer con un radio buttom, luego lo cambiaré:

Al final del formulario:

echo " <INPUT type=radio name=radiecito value=aceptodas>Borrar<BR>
<INPUT type=radio name=radiecito value=denegada>huh?<BR>
<INPUT TYPE=submit VALUE=ingresar></form>

Cool!

pero cuando voy a hacer el select no me da variable para trabajar, es 'default' siempre:

switch(radiecito) {

case "denegada":
blah blah
break;

case "aceptodas":
more blah
break;
defaut:
echo: "idiot";
break;
}


Imprime el default: Idiot.


<div style="color:#000; font-family: Verdana; font-size: 10px; font-weight:bold;">Wakkos<br><a href="http://www.artreves.com/wakk" style="font-size: 9px; font-weight: normal; color:#e1470b;">follow the white rabbit</a></div>