<?php $i--; } ?> </select> <br/> <br/> <?php include "inc_lists.php"; ?> <strong>REGION</strong> <select name="cmbRegion" onChange="cargarEstados2(frmSP,0)"> <option value="">SELECCIONE...</option> <?php $result = obtenerRegiones($link); while ($row = mysql_fetch_object($result)) { ?> <option value="<?php echo $row->id; ?> " <?php if ($_POST["cmbRegion"] == $row->id) { ?> selected <?php } ?> > <?php
enctype="multipart/form-data" onSubmit="return validate_busqueda_guia_form(this);" style="background-color:#FFF; border:none; margin:0px; padding-left:10px"> <?php if (isset($_POST["cmbRegion"])) { ?> <input type="button" class="button" value="LIMPIAR BUSQUEDA" onclick="javascript:document.location.href = 'adm_generar_guia.php';" /> <?php } else { ?> <strong>REGION</strong> <select name="cmbRegion"> <option value=""></option> <?php $regiones = obtenerRegiones($link); while ($row = obtenerRegistro($regiones)) { ?> <option value="<?php echo $row->id; ?> "> <?php echo $row->nombre; ?> </option> <?php } ?> </select>