Ver Mensaje Individual
  #6 (permalink)  
Antiguo 09/04/2009, 00:04
Avatar de pacmanaman
pacmanaman
 
Fecha de Ingreso: marzo-2009
Mensajes: 84
Antigüedad: 15 años, 2 meses
Puntos: 3
Respuesta: Problemas con WHILE

No es nada NestorOC

Lo que podes hacer es pasarle a los _sql_fetch_array() que estan en sus respectivos while el resultado de tu consulta.

1º _sql_fecth_array($queryNoticias)
2º _sql_fecth_array($queryArticulos)

Y en vez de poner en _sql_consulta ...

$this->esta_consulta = mysql_query($consulta, $this->conexion_bd) or $this->_sql_error( mysql_error() );

poner

return mysql_query($consulta, $this->conexion_bd) or $this->_sql_error( mysql_error() );
__________________
(<++