X-Original-To: pgsql-php@postgresql.org Received: from mail01.up.edu.ph (mail01.up.edu.ph [61.9.73.248]) by postgresql.org (Postfix) with SMTP id 43615475461 for ; Tue, 18 Mar 2003 08:22:29 -0500 (EST) Received: (qmail 9994 invoked by uid 504); 18 Mar 2003 13:42:13 -0000 Received: from ryanne.cruz@up.edu.ph by web1 with qmail-scanner-1.01 (update: v4252 12 Mar 2003. Clean. Processed in 7.432183 secs); 18 Mar 2003 13:42:13 -0000 Received: from unknown (HELO b01.mail.up.edu.ph) (10.16.3.1) by 10.16.3.142 with SMTP; 18 Mar 2003 13:42:05 -0000 Received: (qmail 12689 invoked by uid 504); 18 Mar 2003 11:49:34 -0000 Received: from ryanne.cruz@up.edu.ph by b01 with qmail-scanner-1.01 (update: v4252 12 Mar 2003. Clean. Processed in 0.488003 secs); 18 Mar 2003 11:49:34 -0000 Received: from unknown (HELO localhost) ([10.16.3.5]) (envelope-sender ) by 10.16.3.1 (qmail-ldap-1.03) with SMTP for ; 18 Mar 2003 11:49:34 -0000 Received: from 10.33.187.86 ( [10.33.187.86]) as user rocruz1@b04.mail.up.edu.ph by mail.up.edu.ph with HTTP; Tue, 18 Mar 2003 20:00:03 +0800 Message-ID: <1047988803.3e770a438abf9@mail.up.edu.ph> Date: Tue, 18 Mar 2003 20:00:03 +0800 From: ryanne cruz To: "pgsql-php@postgresql.org" Subject: Re: delayed passing of values in form MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1 X-Originating-IP: 10.33.187.86 X-Archive-Number: 200303/15 X-Sequence-Number: 1927 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 ""; echo ""; echo ""; //echo ""; echo "Choose year of desired record: "; echo ""; echo ""; echo "Summary for Year $year"; echo "$esource"; echo ""; echo ""; //echo ""; //echo ""; echo ""; echo ""; echo ""; echo ""; echo "
LAYERS
"; echo "
No. of households
Installations
Consumption
"; echo ""; echo "";
Industrial
Agricultural
Transportation