Ignore:
Timestamp:
Sep 23, 2020, 11:32:27 AM (4 years ago)
Author:
roby
Message:

Admin: prime modifiche per compatibilità con php 7.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/temi/facebook/menu.php

    r257 r336  
    5858        $sth->execute();       
    5959        $row = $sth->fetch(PDO::FETCH_BOTH);         
    60         $esiste_multi=mysql_num_rows($rescomu);
     60        $esiste_multi=$sth->rowCount();
    6161              if ($esiste_multi>=1) {
    6262                    echo " <li>
     
    129129                ***********************************/
    130130
    131         $res = mysql_query("SELECT count(0) FROM ".$prefix."_ele_circoscrizione where id_cons='$id_cons' ", $dbi);
    132131        $sql = "SELECT count(0) FROM ".$prefix."_ele_circoscrizione where id_cons='$id_cons'";
    133132        $sth = $dbi->prepare("$sql");
Note: See TracChangeset for help on using the changeset viewer.