Ignore:
Timestamp:
Jan 16, 2019, 7:06:35 PM (6 years ago)
Author:
roby
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/modules/Elezioni/backup.php

    r2 r256  
    55if (isset($param['id_comune']))
    66         $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];
    912#$nomeFile="backup";
    1013header( 'Content-Type: application/octet-stream' );
Note: See TracChangeset for help on using the changeset viewer.