/web/htdocs/www.euroroma.net/home/admin/cercagalleriafoto.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

            <SELECT NAME="selectgalleria" class="modulo">
                    <optgroup label="Seleziona Galleria fotografica ...">
                        
                        <?
                        
echo "<option value='0'>Nessuna</option>";
                        include(
"setConn.php");
                       
                        if (
$db == FALSE)
                            die (
"Errore nella connessione.");
                        
$sql "SELECT * FROM photogallery ORDER BY aaaa DESC, mm DESC, gg DESC, ID DESC";
                        
$result mysql_db_query("Sql603025_1"$sql$db);
                        while(
$results mysql_fetch_array($result)){
                            
$ID $results["ID"];
                            
$titolo $results["titolo"];
        
                            echo 
"<option value='".$ID."'>".$titolo."</option>";
                        }
                        
mysql_close($db);
                        
?>
                    </ optgroup>
                </SELECT>