Changeset 280 for trunk/client/modules/Elezioni/index.php
- Timestamp:
- Apr 21, 2019, 12:41:31 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/modules/Elezioni/index.php
r279 r280 959 959 }else{ 960 960 // tot liste 961 $sql="SELECT *FROM ".$prefix."_ele_lista where id_cons='$id_cons' $circos ";961 $sql="SELECT id_lista FROM ".$prefix."_ele_lista where id_cons='$id_cons' $circos "; 962 962 $res = $dbi->prepare("$sql"); 963 963 $res->execute(); … … 1046 1046 if ($circo!=1){ 1047 1047 if ($votog) {$tab="lista";}else{$tab="candidati";} 1048 $sql="select *from ".$prefix."_ele_voti_".$tab." where id_cons='$id_cons' group by id_sez ";1049 $res l= $dbi->prepare("$sql");1050 $res l->execute();1048 $sql="select id_sez from ".$prefix."_ele_voti_".$tab." where id_cons='$id_cons' group by id_sez "; 1049 $res1 = $dbi->prepare("$sql"); 1050 $res1->execute(); 1051 1051 1052 1052 $numero=mysql_num_rows($res1);
Note:
See TracChangeset
for help on using the changeset viewer.