Ho modificato il codice in questo modo:
Codice PHP:
<?php
<?php
require('fpdf.php');



include(
"../inclusioni/conf.php");

     
$database mysql_connect($dbhost,$dbuser,$dbpass);
     
mysql_select_db($db,$database);
  


$sql_desc "SELECT  * FROM partecipazioni WHERE od ='$_GET[od]' " ;
$results mysql_query($sql_desc) or die("Cannot query the database.
mysql_error());
$num_rows  mysql_num_rows($results);


   
 
//echo $num_rows;
//die();
while ($riga mysql_fetch_array($results)) {
 
$d $riga["DatiBinari"];


}


$pdf=new FPDF();
$pdf->SetMargins(2,8.5,0);
$pdf->AddFont('Calligrapher','','calligra.php');
$pdf->AddPage();
$pdf->SetFont('Calligrapher','',"$_GET[grandezza]");
$pdf->SetTextColor("$_GET[colore]","$_GET[colore_b]","$_GET[colore_c]");
$pdf->Image("$riga[DatiBinari]",5,15,33);
$pdf->Cell(44.05,9.1,"",1,0,'C');
$pdf->Cell(47.1,9.1,"$_GET[riga1]",1,0,'C');
$pdf->Cell(47.1,9.1,"",1,0,'C');
$pdf->Cell(47.1,9.1,"$_GET[riga1]",1,0,'C');
$pdf->Ln();
mi da il seguente errore:
Image file has no extension and no type was specified: