
23/06/2009, 11:08
|
 | | | Fecha de Ingreso: febrero-2002 Ubicación: Ribeira (Galicia)
Mensajes: 1.900
Antigüedad: 23 años, 1 mes Puntos: 29 | |
Respuesta: Controles de radio con PHP El if:
<?php
if ($_REQUEST['radio1']=="1")
{
echo $nombre;
echo "<br>";
echo "Usted no tiene estudios";
}
else
{ if ($_REQUEST['radio1']=="2")
{
echo $nombre;
echo "<br>";
echo "Usted tiene estudios PRIMARIOS";
}
else {
if ($_REQUEST['radio1']=="3")
{
echo $nombre;
echo "<br>";
echo "Usted tiene estudios SECUNDARIOS";
}
}
?> |