Changeset 33 for trunk/client


Ignore:
Timestamp:
Mar 18, 2010, 2:26:59 PM (15 years ago)
Author:
roby
Message:

Corretti ulteriori notice e scarico consultazioni

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/file.php

    r23 r33  
    2828}elseif ($fase=='2'){
    2929        $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);
    3131        list($descr_cons) = mysql_fetch_row($rescons);
    3232        $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.