Ejemplo n.º 1
0
<?php

require_once '../../class/Conectar.class.php';
$objCon = new Conectar();
require_once '../../class/Institucion.class.php';
$objIns = new Institucion();
$objCon->db_connect();
$instituciones = $objIns->buscarInstitucionAsociacion($objCon, $_POST['pre_id']);
$objCon = null;
?>

<script type="text/javascript" src="controller/client/js_asociarInstitucion.js"></script>
<center>

<form id="frmEditarUsuario">
		<?php 
if (count($instituciones) > 0) {
    ?>
		<input type="hidden" name="txtIdPre" id="txtIdPre" value="<?php 
    echo $_POST['pre_id'];
    ?>
">
		<input type="hidden" name="txtNombrePre" id="txtNombrePre" value="<?php 
    echo $_POST['pre_nombre'];
    ?>
">
		<fieldset style="width: 400px;">
		<legend>Lista Instituciones</legend><br>
		<table border="0">
				<tr>
					<td></td>