Ejemplo n.º 1
0
            <input type="submit" value="Limpiar" class="btn btn-primary"/>
        </div>
    </form>
    
<div class="col-xs-4 text-right">

          
  <table class="table table-striped">
    <thead>
      <tr>
        <th>id</th>
        <th>Apellido</th>
        <th>Nombre</th>
      </tr>
    </thead>
    <tbody>
       <?php 
require_once "Bo/BOLEGAJO.php";
// put your code here
$conn = new BOLEGAJO(1, 1);
$result = $conn->LlenaLista('');
for ($i = 0; $i < count($result); $i++) {
    echo '<tr>' . '<td>' . $result[$i]->getIdLegajo() . '</td> ' . '<td>' . $result[$i]->getApellido() . '</br></td>' . '<td>' . $result[$i]->getNombre() . '</br></td>' . '</tr>';
}
?>
    </tbody>
  </table>
</div>

</body>
</html>