Ver Mensaje Individual
  #1 (permalink)  
Antiguo 17/10/2006, 09:41
Avatar de susaninhax
susaninhax
 
Fecha de Ingreso: noviembre-2004
Mensajes: 358
Antigüedad: 20 años, 4 meses
Puntos: 3
combo menu que tira de Base de datos

Buenas compañeros;

Tengo este combo:
Código PHP:
<select name="municipio">
          <option>- Seleccione un municipio</option>
           <?php $sqla="select municipio
                    from patrimonios_municipios
            where zona='"
.$_GET["zona"]."'";
    
$resulta=mysql_query($sqla$link)or die(mysql_error());
    while(
$rowa=mysql_fetch_array($resulta)){
    
$municipio=$rowa["municipio"];
            
?>
          <option value="<?php echo $municipio?>"><?php echo $municipio?></option>
          <?php ?>
        </select>
Como puedo hacer para que cuando escoja el municipio me actualize el siguiente iframe=
Código HTML:
><iframe name="datos" align=top marginwidth=0 
            marginheight=0 src="tablas_municipios.php?municipio=<?php echo $_GET["municipio"];?>"  scrolling="no" frameborder=0 width=682 height=358></iframe> 
lo necesito entregar hoy a ultima hora porfa, alguien me dice como se hace??????????? o alguna idea?????