Ver Mensaje Individual
  #3 (permalink)  
Antiguo 23/10/2008, 18:07
suntus
 
Fecha de Ingreso: noviembre-2002
Mensajes: 746
Antigüedad: 21 años, 5 meses
Puntos: 6
Respuesta: seleccionar un radio buton segun un get

Cita:
Iniciado por bleckfala Ver Mensaje
segun yo todo esta bien lo unico que segun io te falta es echo
<input name="sex" type="radio" value="Female" checked="<?php if($_GET['sex']=='Female') { echo "checked" }?>"/>
yo pondria el if mas atrasss

<input name="sex" type="radio" value="Female" <?php if($_GET['sex']=='Female') { echo 'checked="checked"'; }?>"/>