Ignore:
Timestamp:
Mar 20, 2018, 11:19:10 PM (7 years ago)
Author:
roby
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/modules/Elezioni/ele_configurazione.php

    r254 r255  
    2626
    2727$id_comune=$_SESSION['id_comune'];
    28 $res = mysql_query("SELECT t1.tipo_cons,t2.id_cons FROM ".$prefix."_ele_consultazione as t1, ".$prefix."_ele_cons_comune as t2 where t1.id_cons_gen=t2.id_cons_gen and t2.id_cons_gen='$id_cons_gen' and t2.id_comune='$id_comune' " , $dbi);
    29 list($tipo_cons,$id_cons) = mysql_fetch_row($res);
     28$row=cur_cons();
     29$tipo_cons=$row[0];$id_cons=$row[1];
    3030
    3131include("modules/Elezioni/funzionidata.php");
Note: See TracChangeset for help on using the changeset viewer.