12/05/2004, 16:27
|
| | Fecha de Ingreso: noviembre-2003
Mensajes: 157
Antigüedad: 21 años, 3 meses Puntos: 0 | |
aún con este código sigue igual:
$array="select id_lib,cantidad,precio from boletas where id='$numero'";
$resp_array=mysql_query($array,$link);
if($rows_array=mysql_fetch_array($resp_array)){
do{$pdf->ln(6);
$pdf->setx(60);
$pdf->Cell(20,6,''.$rows_array["cantidad"].'',1,0,'C');
$pdf->setx(80);
$pdf->Cell(50,6,''.$rows_array["id_lib"].'',1,0,'C');
$pdf->setx(130);
$pdf->Cell(30,6,''.$rows_array["precio"].'',1,0,'C');
}while(mysql_fetch_array($resp_array));
} |