Ver Mensaje Individual
  #1 (permalink)  
Antiguo 06/04/2005, 13:07
Avatar de Chuty
Chuty
 
Fecha de Ingreso: noviembre-2002
Ubicación: el bar de la esquina
Mensajes: 609
Antigüedad: 22 años, 4 meses
Puntos: 2
LLenar un select a travez de otros

Hola a todos.

Tengo el siguiente tema
Tengo 3 Select Nombre Codigo y Resultado
El tema es que quiero que el usuario pueda seleccionar uno mas nombres y un de Codigo y luego al presionar en Enviar me llene el select Resultado
Se puede hacer ...
Código PHP:
<table border="1" width="100%">
  <
tr>
    <
td width="100%">&nbsp;
      <
table border="0" width="100%">
        <
tr>
          <
td width="100%" colspan="2"><select size="3" name="Resultado">
            </
select></td>
        </
tr>
        <
tr>
          <
td width="50%"><select size="3" name="Nombre" multiple >
              <
option>Nombre 1</option>
              <
option>Nombre 2</option>
              <
option>Nombre 3</option>
              <
option>Nombre 4</option>
            </
select></td>
          <
td width="50%"><select size="3" name="Codigo" multiple >
              <
option>Codigo 1</option>
              <
option>Codigo 2</option>
              <
option>Codigo 3</option>
              <
option>Codigo 4</option>
            </
select></td>
        </
tr>
        <
tr>
          <
td width="100%" colspan="2"><input type="submit" value="Enviar" name="B1"></td>
        </
tr>
      </
table>
    </
td>
  </
tr>
</
table
desde ya muchas gracias y saludos a todos