include "mysql.php"; include "templates/head.php"; ?>
//extrai albuns $albume .= "
//mostra albuns existentes
$id = $_GET['galeriaid'];
if($id == ""){
$sql_showf = "SELECT * FROM `fotos`";
}else{
$sql_showf = "SELECT * FROM `fotos` WHERE `albumid` = $id";
}
$showf = mysql_query($sql_showf, $connection);
while($albumf = mysql_fetch_array($showf)){
?>
}
?>
|
|