Ver Mensaje Individual
  #12 (permalink)  
Antiguo 27/02/2011, 12:33
Sairox
 
Fecha de Ingreso: julio-2004
Mensajes: 323
Antigüedad: 19 años, 9 meses
Puntos: 1
Respuesta: ayuda urgente

Cita:
<form>
<select name="valor" id="valor" multiple SIZE="20">
<option> Valores</option>
</select></form>

<html>
<p>
<form>
<select name="productos" id="productos" MULTIPLE SIZE="20" onchange="valor">
<option>Seleccione los productos que desea</option>
<?php
include("include/conexion.php");
$conn = conectar();
$consulta="SELECT * FROM productos ORDER BY ID";
$result = mysql_query($consulta,$conn);
while ($row = mysql_fetch_row($result))
{
?>
<option value="<?php echo $row[0]?>" ><?php echo $row[2]?>, <?php echo $row[0]?>, <?php echo $row[1]?> </option>

<?php
}
desconectar($conexion);
?> <P>
</select>


<INPUT TYPE="submit" VALUE="Enviar datos">
</form>

</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp; </p>


</html>

tengo esto asi pero el boton no aparece si lo pongo debajo de ese select :S