Ver Mensaje Individual
  #3 (permalink)  
Antiguo 27/03/2007, 10:18
Avatar de maxi_lance
maxi_lance
 
Fecha de Ingreso: julio-2006
Ubicación: Capital Federal
Mensajes: 220
Antigüedad: 17 años, 10 meses
Puntos: 2
Re: Recibir mediante $_POST los dos datos de un option

Una opcion simple. Agregando el nombre de la option al value junto con el numero
Código PHP:
<form method="POST" value="procesar.php">
<
select name="pais">
    <
option value="1-Argentina">Argentina</option>
    <
option value="2-Brasil">Brasil</option>
    <
option value="3-Chile">Chile</option>
</
select>
<
br />
<
input tipe="submit" value="Enviar">
</
form