Changeset 265 for trunk/client/modules/Elezioni/backup.php
- Timestamp:
- Apr 13, 2019, 8:05:15 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/modules/Elezioni/backup.php
r2 r265 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 $result = $dbi->prepare("$sql"); 9 $result->execute(); 10 11 list($nomeFile) = $result->fetch(PDO::FETCH_NUM); 9 12 #$nomeFile="backup"; 10 13 header( 'Content-Type: application/octet-stream' );
Note:
See TracChangeset
for help on using the changeset viewer.