![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
30/09/2009, 07:33
|
![Avatar de gjx2](http://static.forosdelweb.com/customavatars/avatar253651_4.gif) | | | Fecha de Ingreso: agosto-2008 Ubicación: R.D
Mensajes: 1.153
Antigüedad: 16 años, 6 meses Puntos: 139 | |
Respuesta: salto de linea cuando el registro sea diferente Algo como esto.
Código PHP:
Ver original$conexion = conectar("basket"); $nombre_last = ""; $resultado = consultar("Select * from equipos"); if($nombre_last != $fila['nombre']){ echo $fila['nombre']."<br>"; $nombre_last = $fila['nombre']; } }
|