
echo $testo; ?>
|
if ($id>1)
{
?>
$query="SELECT * from immagini where tabella_riferimento='photogallery' and id_riferimento='$id'";
$ris=mysql_query($query,$connessione);
while ($riga=mysql_fetch_array($ris))
{
$nome_immagine=$riga['nome'];
$etichetta_immagine=stripslashes($riga['etichetta']);
echo "
$etichetta_immagine";
}
?>
|
} ?> |
$query="SELECT * from immagini where tabella_riferimento='pagine' and id_riferimento='2'";
$ris=mysql_query($query,$connessione);
while($riga=mysql_fetch_array($ris))
{
$nome_immagine=$riga['nome'];
echo "
 ";
}
?>
|