1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
$num=$_GET['num_consult'];
$fourchoisi="select four_choisie.num_four,nom_four,adr_four,tel_four_1,fax_four from four_choisie,fournisseur where num_consult='".$num." ' and four_choisie.num_four=fournisseur.num_four";
$fournisseurs=mysql_query($fourchoisi);
while($ligne=mysql_fetch_array($fournisseurs))
{
$PDF=new phpToPDF();
$PDF->AddPage();
$PDF->SetFont('Arial','B', 10);
///avoir les attribut de la consultation
$req="select mode_paiement,num_consult,date_limite, mode_recep,consulte,date_creation,lot_detail,etatconsult,consultation.etape as et ,date_creation,lot_detail,description_consult ,num_serv,estimation_cout,etatconsult,etape from consultation where num_consult='".$num."'";
///autre code pour l'affichage
$PDF->Output('consultation'.$num.'aufournisseur'.$ligne['num_four'].'.PDF',"F");
} |
Partager