Changeset 279 for trunk/client/modules/Elezioni/funzioni.php
- Timestamp:
- Apr 20, 2019, 8:32:48 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/modules/Elezioni/funzioni.php
r274 r279 259 259 260 260 261 $sql="select *from ".$prefix."_$tab where id_cons='$id_cons' group by id_sez ";261 $sql="select id_cons from ".$prefix."_$tab where id_cons='$id_cons' group by id_sez "; 262 262 $res = $dbi->prepare("$sql"); 263 263 $res->execute(); 264 264 265 265 266 if ($res) $numero=$res->rowCount();else $numero=0;266 $numero=$res->rowCount(); 267 267 $sql="select t2.* from ".$prefix."_ele_sezioni as t2, ".$prefix."_ele_sede as t1 where t2.id_cons='$id_cons' and t1.id_sede=t2.id_sede $circondt1"; 268 268 $res = $dbi->prepare("$sql");
Note:
See TracChangeset
for help on using the changeset viewer.