include("inc/header.php"); ?>
include("inc/header_gallery.php"); ?>
include ("/admin/phpdatasource.inc");
include ("/admin/phpfunctions.inc");
$query="SELECT * FROM photo_gallery where id= '$foto'";
$result=mysql_query($query,$db);
if (mysql_num_rows($result))
{
if ($myrow = mysql_fetch_array($result))
{
$this_foto=$myrow['foto'];
$this_titolo=$myrow['titolo'];
$this_descrizione=$myrow['descrizione'];
?>
echo $this_titolo; ?>

print $this_descrizione;
}
}
?>
include("inc/footer_gallery.php"); ?>
include("inc/footer.php"); ?>