|
MATRIMONI:
$query="SELECT * from photogallery where categoria='matrimoni'";
$ris=mysql_query($query,$connessione);
while($riga=mysql_fetch_array($ris))
{
$nome=stripslashes($riga['nome_gallery']);
$id=$riga['id'];
echo "- $nome
";
}
?>
STUDIO:
$query="SELECT * from photogallery where categoria='studio'";
$ris=mysql_query($query,$connessione);
while($riga=mysql_fetch_array($ris))
{
$nome=stripslashes($riga['nome_gallery']);
$id=$riga['id'];
echo "- $nome
";
}
?>
COMMERCIALI:
$query="SELECT * from photogallery where categoria='commerciali'";
$ris=mysql_query($query,$connessione);
while($riga=mysql_fetch_array($ris))
{
$nome=stripslashes($riga['nome_gallery']);
$id=$riga['id'];
echo "- $nome
";
}
?>
|
|
|
|