Changeset 256 for trunk/admin/modules/Elezioni/backup.php
- Timestamp:
- Jan 16, 2019, 7:06:35 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/backup.php
r2 r256 5 5 if (isset($param['id_comune'])) 6 6 $id_comune2=intval($param['id_comune']); 7 $result = mysql_query("select descrizione from ".$prefix."_ele_consultazione where id_cons_gen='$id_cons_gen2'", $dbi); 8 list($nomeFile) = mysql_fetch_row($result); 7 $sql="select descrizione from ".$prefix."_ele_consultazione where id_cons_gen='$id_cons_gen2'"; 8 $sth = $dbi->prepare("$sql"); 9 $sth->execute(); 10 $row = $sth->fetch(PDO::FETCH_BOTH); 11 $nomeFile=$row[0]; 9 12 #$nomeFile="backup"; 10 13 header( 'Content-Type: application/octet-stream' );
Note:
See TracChangeset
for help on using the changeset viewer.