0 AND rilievo>0"; if ($result = @mysql_query("$sql",$db)) { if ($myrow = @mysql_fetch_array($result)) { $val_01=$myrow[$campo_01]; $titolo=stripslashes($myrow[$campo_02]); $offerta=stripslashes($myrow[$campo_03]); $file3 = "uploaded/prodotti".$val_01.".pdf"; if (file_exists($file3)) $nome_file_pdf=$file3; $file2 = "uploaded/prodotti".$val_01."g.jpg"; if (file_exists($file2)) $nome_file=$file2; } } ?>