<p>El siguiente listado muestra los estudiantes activos que pueden usar la aplicación actualmente:</p>
                        
                        
                        <table class="table table-striped table-hover ">
                            <thead>
                              <tr>
                                <th>Código</th>
                                <th>Nombres</th>
                                <th>Apellidos</th>
                                <th>¿Ha ingresado por primera vez a la aplicación?</th>
                                <th>Fecha Ingreso</th>
                              </tr>
                            </thead>
                            <tbody>
                            <?php 
$result = $datab->consultar_students();
$num = mysql_numrows($result);
$contador = 0;
if ($num > 0) {
    while ($row = mysql_fetch_row($result)) {
        if ($row[3] == 0) {
            ?>
                                            <tr class="danger">
                                              <td><?php 
            echo "" . $row[0];
            ?>
</td>
                                              <td><?php 
            echo "" . $row[1];
            ?>
</td>