</div> <div class="modal-body padding-20" style="overflow-x: hidden; overflow-y: auto"> <form > <table id="tablaDetallesProcesos" class="table table-bordered table-striped" style="width:100%;"> <thead class="text-center"> <tr> <th>Grupo de Preguntas</th> <th>Cuestionario</th> <th>Descripción</th> </tr> </thead> <tbody class="text-center"> <?php $grupPreg = new GrupoPreguntas(); $gruposPreguntas = $grupPreg->findAll(); foreach ($gruposPreguntas as $value) { ?> <tr> <td> <?php echo $value->nombre; ?> </td> <td> <?php echo $value->idCuestionario->nombre; ?>