Changeset 304
- Timestamp:
- May 13, 2019, 9:08:02 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/ele_cons_comuni.php
r258 r304 172 172 if (! $contr_circ){ 173 173 $sql="insert into ".$prefix."_ele_circoscrizione (id_cons,num_circ,descrizione) values ('$id_cons2',$num,'$des')"; 174 $res = $dbi->prepare("$sql");175 $res ->execute();174 $res5 = $dbi->prepare("$sql"); 175 $res5->execute(); 176 176 } 177 177 $sql="select id_circ from ".$prefix."_ele_circoscrizione where id_cons=$id_cons2 and num_circ=$num"; … … 208 208 if ($elettori=='true') $sql="insert into ".$prefix."_ele_sezioni (id_cons,id_sede,num_sez,maschi,femmine) values ('$id_cons2','$id_sede','$numero','$maschi3','$femmine3')"; 209 209 else $sql="insert into ".$prefix."_ele_sezioni (id_cons,id_sede,num_sez) values ('$id_cons2','$id_sede','$numero')"; 210 $res 3= $dbi->prepare("$sql");211 $res 3->execute();210 $res4 = $dbi->prepare("$sql"); 211 $res4->execute(); 212 212 } 213 213 }
Note:
See TracChangeset
for help on using the changeset viewer.