Re: delayed passing of values in form

Поиск
Список
Период
Сортировка
Искать

Re: delayed passing of values in form

От:
ryanne cruz <ryanne.cruz@up.edu.ph>
Дата:
hi list. 
 
i have a script with a delayed passing of values in the form. for example, i 
chose the year 2003 and ticked the radio button for households. when i look at 
the link, the variables are not yet passed to the maindemoutputmap script. i 
tried displaying the values of the variables and they came up correctly. if i 
choose another year or radio button, what i'll see is the previous options 
selected (the previous values assigned to the variables). 
 
if my explanation is hard to understand, you colud go to this site to see what 
i mean: 
 
http://www.philenergydb.upd.edu.ph/maindemoutputmap.php?prid=1 
 
i ahve also included part of the script:  
 
echo ""; 
 
 
    echo "Choose energy source: 
"; 
    echo ""; 
           idcombomodel("esourceid", "esource", "energysource", $primarylink); 
           echo "    "; 
                
               echo ""; 
echo ""; 
    //echo ""; 
 
    echo "Choose year of desired record: 
"; 
    echo ""; 
           populate_year($primarylink); 
           echo "    "; 
                
               echo ""; 
echo "Summary for Year $year"; 
echo "$esource"; 
echo ""; 
echo ""; 
//echo ""; 
//echo ""; 
echo ""; 
	echo ""; 
	echo ""; 
	echo "
LAYERS
"; echo "
No. of households
Installations
Consumption
"; echo ""; echo ""; echo "";
Industrial
Agricultural
Transportation
FAQ