Changeset 336 for trunk/admin/temi/default/index.php
- Timestamp:
- Sep 23, 2020, 11:32:27 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/temi/default/index.php
r256 r336 18 18 $sth->execute(); 19 19 $row = $sth->fetch(PDO::FETCH_BOTH); 20 $descr_consultazione=$row[0]; 20 if($sth->rowCount()) 21 $descr_consultazione=$row[0]; 22 else 23 $descr_consultazione=''; 21 24 $sql="select descrizione from ".$prefix."_ele_comuni where id_comune='$id_comune'"; 22 25 $sth = $dbi->prepare("$sql"); 23 26 $sth->execute(); 24 27 $row = $sth->fetch(PDO::FETCH_BOTH); 25 $descr_comune=$row[0]; 28 if($sth->rowCount()) 29 $descr_comune=$row[0]; 30 else 31 $descr_comune=''; 26 32 27 33 echo "<div class=\"container\"><table width=\"95%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table-main\">
Note:
See TracChangeset
for help on using the changeset viewer.