Changeset 90 for trunk/client/modules/Elezioni/index.php
- Timestamp:
- May 4, 2011, 8:08:52 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/modules/Elezioni/index.php
r87 r90 24 24 if (isset($param['id_cons_gen'])) $id_cons_gen=intval($param['id_cons_gen']); else 25 25 { 26 $res = mysql_query("SELECT id_cons FROM ".$prefix."_ele_comuni where id_comune='$id_comune' ", $dbi); 27 list($id_cons_pred)=mysql_fetch_row($res); 26 28 $res = mysql_query("SELECT id_cons_gen FROM ".$prefix."_ele_cons_comune where id_cons='$id_cons_pred' ", $dbi); 27 29 list($id_cons_gen)=mysql_fetch_row($res); 28 } 30 } 29 31 if (isset($param['op'])) $op=$param['op']; else $op=''; 30 32 if (isset($param['minsez'])) $minsez=intval($param['minsez']); else $minsez='';
Note:
See TracChangeset
for help on using the changeset viewer.