Ver Mensaje Individual
  #4 (permalink)  
Antiguo 03/07/2007, 12:45
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Re: Como podria hacer esto?

Cada que llamas a mysql_fetch_array te devuelve el record actual pero internamente aumenta al siguiente, es decir si quieres 3, puedes hacer asi:
Código PHP:
$noticia1 mysql_fetch_array$result );
$noticia2 mysql_fetch_array$result );
$noticia3 mysql_fetch_array$result ); 
Y asi ya tendrias las 3 noticias en sus 3 arreglos respectivos.

Saludos.