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


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

            <SELECT NAME="speciale" class="modulo">
                    <optgroup label="Seleziona Speciale ..."> 
                    <option value="0">Articolo</option>
                        <?
                            
include("../setConn.php");
                            
$namedb "Sql603025_1";
                            
$sql "SELECT * FROM speciale ORDER BY ID DESC";
                            
mysql_select_db($namedb$db);
                            
$result mysql_query($sql);
                            
$i=0;
                            while(
$results mysql_fetch_array($result)){
                                echo 
"<option value='".$results["ID"]."'>".$results["nome"]."</option>";
                                
$i++;
                            }
                            
mysql_close($db);
                        
?> 
                      
                     </ optgroup>
                </SELECT>