Ver Mensaje Individual
  #2 (permalink)  
Antiguo 19/05/2008, 20:29
Avatar de kaninox
kaninox
 
Fecha de Ingreso: septiembre-2005
Ubicación: In my House
Mensajes: 3.597
Antigüedad: 18 años, 8 meses
Puntos: 49
Respuesta: Problema Para Generar Consulta

aqui tienes problemas de parentesis pues yaaa

else
while ($numfilas=mysql_fetch_array($result))
{

si habres arriba

if ($numfilas==0)
{
echo "NO HAY REGISTROS EN LA BASE DE DATOS";
echo "<meta HTTP-EQUIV="REFRESH" content="2; url=hinformes.php">";
}
else
//aqui es natural que el ciclo lleve su parentesis
{
y despues un while ($numfilas=mysql_fetch_array($result))
{ <--- con el parentesis del while para que muestre todo y no el ultimo o el primero....



doble cierre tambien ;)
}
}



Código:
while ($i < $number_of_products)
{
$pdf->SetX(2);
$pdf->MultiCell(10,4,'',1);
$i = $i +1;
}
$MSG='ANDRES ALVAREZ';
$pdf->SetAuthor('ANDRES ALVAREZ');
$pdf->SetSubject('LISTADO GENERAL DE INTEGRANTES');
$pdf->Output();

}
esta parte no la entiendo donde defines $number_of_products????
__________________
Gokuh Salvo al mundo. PUNTO!!!!