Bonjour à tous, j'essaie d'inclure un champs que je récupère d'une base mysql: $nom.
Si je fait:
$pdf->Cell(100,4,'$nom',0,1,'J');
J'obtient : $nom
Si je fait:
echo $nom_hotel;
J'obtient:
Mon nomFPDF error: Some data has already been output, can't send PDF file
J'ai regardé sur fpdf.org mais je n'arrive pas à trouver la solution.
Merci 'avance pour votre aide.
Partager