Ver Mensaje Individual
  #2 (permalink)  
Antiguo 27/09/2013, 19:32
Avatar de Triby
Triby
Mod on free time
 
Fecha de Ingreso: agosto-2008
Ubicación: $MX->Gto['León'];
Mensajes: 10.106
Antigüedad: 15 años, 8 meses
Puntos: 2237
Respuesta: datos de taba sin while

Con while y sin repetir:

Código PHP:
Ver original
  1. $linea = 1;
  2. while(/* aquí tu condición */) {
  3.      echo "<div class=\"div.$linea\">\n";
  4.      echo "Contenido del div\n";
  5.      echo "</div>\n";
  6.      $linea ++;
  7. }
__________________
- León, Guanajuato
- GV-Foto