Ignore:
Timestamp:
May 27, 2017, 9:20:05 PM (7 years ago)
Author:
roby
Message:

ulteriori correzioni alla rev 259

File:
1 edited

Legend:

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

    r243 r261  
    1414Funzione Menu a cascata
    1515*************************/
    16         $sqlcomu="select descrizione,fascia from ".$prefix."_ele_comuni where id_comune=$id_comune";
     16        $sqlcomu="select descrizione from ".$prefix."_ele_comuni where id_comune=$id_comune";
    1717        $rescomu= mysql_query("$sqlcomu",$dbi);
    18         list($descr_com,$fascia)=mysql_fetch_row($rescomu);
     18        list($descr_com)=mysql_fetch_row($rescomu);
     19        $sqlcomu="select id_fascia from ".$prefix."_ele_cons_comune where id_comune=$id_comune and id_cons='$id_cons'";
     20        $rescomu= mysql_query("$sqlcomu",$dbi);
     21        list($fascia)=mysql_fetch_row($rescomu);
    1922       
    2023        echo ' <table cellpadding="0" cellspacing="0" style="border:0px;text-align:left;"><tr><td>
Note: See TracChangeset for help on using the changeset viewer.