<thead> <tr> <th>#</th> <th>Nombre Curso</th> <th>Fecha Curso</th> <th>Horario Curso</th> <th>Empresa Dirigida</th> <th>Giro Asociacion</th> <th>Estado Curso</th> </tr> </thead> <tbody> <?php $prep_state = $admin->MostrarCursoEspecifico(); while ($row = $prep_state->fetch(PDO::FETCH_ASSOC)) { ?> <tr class="<?php echo $row['color']; ?> "> <td><?php echo $row['idcurso']; ?> </td> <td><?php echo $row['nombrecurso']; ?> </td>