<tr> <td width="10%" height="12" align="center" class="titulos3">Continente</td> <td width="30%" height="12" align="center" class="titulos3">País</td> <td width="30%" height="12" align="center" class="titulos3">Departamento</td> <td width="30%" height="12" align="center" class="titulos3">Municipio</td> </tr> <?php if (!$rs) { echo "<br><b>No trae nada de la DB</b>"; } //Recorre la consulta while ($rs && !$rs->EOF) { $codCont = $rs->fields['ID_CONT']; $codPais = $rs->fields['ID_PAIS']; $a = new LOCALIZACION($rs->fields['DEPTO'], $rs->fields['MUNICIP'], $db); $a->GET_NOMBRE_CONT($codCont, $db); $a->GET_NOMBRE_PAIS($codPais, $db); ?> <tr align="center"> <td class="listado2" height="12" ><span class="etextomenu"><?php echo $a->continente; ?> </span></td> <td class="listado2" height="12" ><span class="etextomenu"><?php echo $a->pais; ?> </span></td> <td class="listado2" height="12" ><span class="etextomenu"><?php echo $a->departamento; ?> </span></td>
strlen($selectedForm) == 0 ? $selectedForm = $rs->fields['ID'] : ($selectedForm = $selectedForm . "," . $rs->fields['ID']); $defa_idctt = array_search($rs->fields['ID'], explode(',', ${'selected' . $_POST['slc_tb']})); //Trae la posicion del NUIR en el "vector" $selected if (!is_array($tmp_vectorctt)) { $tmp_vectorctt = explode(",", ${'selectedctt' . $_POST['slc_tb']}); } // Como se supone existe "vector" $selected debe existir el "vector" $selectecctt } } ?> <tr align="justify" class="<?php echo $clase; ?> "> <td class='listado2' height="12" width="13%"><?php echo $a->GET_NOMBRE_CONT($rs->fields['IDCONT'], $db); ?> </td> <td class='listado2' height="12" width="13%"><?php echo $a->GET_NOMBRE_PAIS($rs->fields['IDPAIS'], $db); ?> </td> <td class='listado2' height="12" width="13%"><?php echo $a->departamento; ?> </td> <td class='listado2' height="12" width="13%"><?php echo $a->municipio; ?> </td> <td class='listado2' height="12" width="38%"><?php