Ignore:
Timestamp:
Apr 21, 2019, 9:46:30 PM (5 years ago)
Author:
roby
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/temi/yellowblu/index.php

    r139 r282  
    1818if (isset($param['id_comune'])) $id_comune=intval($param['id_comune']); else $id_comune=$siteistat;
    1919
    20 $res = mysql_query("SELECT descrizione FROM ".$prefix."_ele_comuni where id_comune='$id_comune' ", $dbi);
    21         list($descr_com) = mysql_fetch_row($res);
     20$sql="SELECT descrizione FROM ".$prefix."_ele_comuni where id_comune='$id_comune' ";
     21$res = $dbi->prepare("$sql");
     22$res->execute();
     23        list($descr_com) = $res->fetch(PDO::FETCH_NUM);
    2224
    2325
Note: See TracChangeset for help on using the changeset viewer.