Ignore:
Timestamp:
Apr 4, 2019, 11:16:00 PM (5 years ago)
Author:
roby
Message:
 
File:
1 edited

Legend:

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

    r256 r258  
    1616
    1717$aid=$_SESSION['aid'];
    18 $dbi=$_SESSION['dbi'];
     18global $dbi;
    1919$prefix=$_SESSION['prefix'];
    2020$currentlang=$_SESSION['lang'];
     
    7979        }
    8080        $i=1;
    81         $sql"SELECT num_sez,id_sez,t1.id_sede, t2.id_circ,maschi,femmine,(maschi+femmine) as elettori FROM ".$prefix."_ele_sezioni as t1, ".$prefix."_ele_sede as t2 where t1.id_cons='$id_cons' and t1.id_sede=t2.id_sede order by num_sez";
     81        $sql="SELECT num_sez,id_sez,t1.id_sede, t2.id_circ,maschi,femmine,(maschi+femmine) as elettori FROM ".$prefix."_ele_sezioni as t1, ".$prefix."_ele_sede as t2 where t1.id_cons='$id_cons' and t1.id_sede=t2.id_sede order by num_sez";
    8282        $sth = $dbi->prepare("$sql");
    8383        $sth->execute();
Note: See TracChangeset for help on using the changeset viewer.