Changeset 282 for trunk/client/temi/realistic/index.php
- Timestamp:
- Apr 21, 2019, 9:46:30 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/temi/realistic/index.php
r241 r282 15 15 global $tema,$file,$sitename,$blocco,$dbi,$prefix,$id_comune; 16 16 17 $res = mysql_query("SELECT descrizione,simbolo FROM ".$prefix."_ele_comuni where id_comune='$id_comune' ", $dbi); 18 list($descr_com,$simbolo) = mysql_fetch_row($res); 19 $descr_com =stripslashes($descr_com); 17 $sql="SELECT descrizione,simbolo FROM ".$prefix."_ele_comuni where id_comune='$id_comune' "; 18 $res = $dbi->prepare("$sql"); 19 $res->execute(); 20 list($descr_com,$simbolo) = $res->fetch(PDO::FETCH_NUM); 21 $descr_com =stripslashes($descr_com); 20 22 21 23
Note:
See TracChangeset
for help on using the changeset viewer.