Ignore:
Timestamp:
Apr 13, 2019, 8:05:15 PM (6 years ago)
Author:
roby
Message:
 
File:
1 edited

Legend:

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

    r2 r265  
    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        $result = $dbi->prepare("$sql");
     9        $result->execute();
     10
     11list($nomeFile) = $result->fetch(PDO::FETCH_NUM);
    912#$nomeFile="backup";
    1013header( 'Content-Type: application/octet-stream' );
Note: See TracChangeset for help on using the changeset viewer.