![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
09/04/2009, 00:04
|
![Avatar de pacmanaman](http://static.forosdelweb.com/customavatars/avatar291048_1.gif) | | | Fecha de Ingreso: marzo-2009
Mensajes: 84
Antigüedad: 15 años, 11 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() );
__________________ (<++ |