Ver Mensaje Individual
  #2 (permalink)  
Antiguo 19/03/2007, 13:46
Avatar de xempro
xempro
 
Fecha de Ingreso: marzo-2007
Ubicación: Chile
Mensajes: 222
Antigüedad: 17 años, 1 mes
Puntos: 6
Re: Problema Radiobutton

No me queda muy clara tu pregunta...

Tomé tu script, lo ordené y modifiqué sultimente y puedo pasar sin problema el valor del "radio".

Acá va el script:

Código PHP:
<? extract($_POST);echo $global;?>
<form method="post">
Ayer<input name="global" type="radio" value="ayer" <?php if ($global == "ayer"){ echo "checked"; }?>/>
Semana Pasada<input name="global" type="radio" value="semana_pasada" 
<?php if ($global == "semana_pasada"){ echo "checked"; }?>/><input type="submit">
</form>