Changeset 33 for trunk/client
- Timestamp:
- Mar 18, 2010, 2:26:59 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/file.php
r23 r33 28 28 }elseif ($fase=='2'){ 29 29 $id_cons_gen2=intval($_GET['id_cons_gen2']); 30 $rescons = mysql_query("SELECT descrizione from ".$prefix."_ele_consultazione where id_cons_gen='$id_cons_gen '",$dbi);30 $rescons = mysql_query("SELECT descrizione from ".$prefix."_ele_consultazione where id_cons_gen='$id_cons_gen2'",$dbi); 31 31 list($descr_cons) = mysql_fetch_row($rescons); 32 32 $res = mysql_query("SELECT t2.id_comune,t2.descrizione from ".$prefix."_ele_cons_comune as t1 left join ".$prefix."_ele_comuni as t2 on t1.id_comune=t2.id_comune where t1.id_cons_gen=$id_cons_gen2 order by t2.descrizione ",$dbi);
Note:
See TracChangeset
for help on using the changeset viewer.