Inicia </th> <th> Termina </th> <th> Aula </th> <th colspan="2"> Opciones </th> </tr> </thead> <tbody> <?php $listaRegistros = $registrosBLL->selectAll(); foreach ($listaRegistros as $objRegistro) { ?> <tr> <td> <?php echo $objRegistro->getNID_Registro(); ?> </td> <td> <?php $ID_Materia = $objRegistro->getNID_Materia(); $objMat = $materiasBLL->select($ID_Materia); echo $objMat->getSNombre(); ?> </td>