Ver Mensaje Individual
  #2 (permalink)  
Antiguo 16/03/2012, 13:26
Avatar de JaimeMSE
JaimeMSE
 
Fecha de Ingreso: diciembre-2010
Ubicación: Isla Cristina (Huelva)
Mensajes: 164
Antigüedad: 13 años, 4 meses
Puntos: 7
Respuesta: radio button con mysql

Hola,

Puedes hacerlo cogiendo la variable del radio y hacerle un if.

Código PHP:
Ver original
  1. if($_POST["radio"] == '1') {
  2. //Código primero
  3. }
  4. if($_POST["radio"] == '2') {
  5. //Código segundo
  6. }
__________________
@JaimeMSE - ¡Sígueme!