Ver Mensaje Individual
  #2 (permalink)  
Antiguo 14/05/2009, 19:43
Avatar de Ronruby
Ronruby
 
Fecha de Ingreso: julio-2008
Ubicación: 18°30'N, 69°59'W
Mensajes: 4.879
Antigüedad: 15 años, 9 meses
Puntos: 416
Respuesta: Ayuda con un while

Código PHP:
while
{
  if(
$ultimoAnio != $row['anio']) {
    
//imprimo el año
  
}
  
//imprimo los estudiantes
  
$ultimoAnio $row['anio'];