Ver Mensaje Individual
  #5 (permalink)  
Antiguo 23/05/2017, 00:38
Avatar de baldaweb
baldaweb
 
Fecha de Ingreso: septiembre-2010
Ubicación: Barco pirata
Mensajes: 244
Antigüedad: 13 años, 7 meses
Puntos: 20
Respuesta: duplicar encabezado en tabla por número de registros

Código PHP:
Ver original
  1. <?php
  2. $i=0;
  3. do {
  4. $i++;?>
  5.  
  6.       <tr>    
  7.      
  8.           <td><?php echo $row_docentes['Clave']; ?></td>
  9.           <td><?php echo $row_docentes['Nombre']; ?></div></td>
  10.           <td><?php echo $row_docentes['ApellidoPaterno']; ?></div></td>
  11.           <td><?php echo $row_docentes['ApellidoMaterno']; ?></div></td>
  12.           <td><?php echo $row_docentes['Email']; ?></div></td>
  13.          
  14.       </tr>
  15. <?php if ($i%25==0) {?>
  16. <tr>
  17.       <td>USUARIO</td>
  18.       <td>Nombre</td>
  19.       <td>A. paterno</td>
  20.       <td>A. Materno</td>
  21.       <td>Email</td>
  22.  
  23.  
  24.    
  25.     </tr>
  26. <?php } ?>
  27.  
  28.     <?php } while ($row_docentes= mysql_fetch_assoc($docentes)); ?>
__________________
CHOOO COOO LAAA TEEEEEEEEE