Changeset 258 for trunk/admin/modules/Elezioni/controllo_votanti.php
- Timestamp:
- Apr 4, 2019, 11:16:00 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/controllo_votanti.php
r256 r258 16 16 17 17 $aid=$_SESSION['aid']; 18 $dbi=$_SESSION['dbi'];18 global $dbi; 19 19 $prefix=$_SESSION['prefix']; 20 20 $currentlang=$_SESSION['lang']; … … 79 79 } 80 80 $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"; 82 82 $sth = $dbi->prepare("$sql"); 83 83 $sth->execute();
Note:
See TracChangeset
for help on using the changeset viewer.