Re: Select Values Didn't Get Passed in From Two Different Forms

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2010-05-25 at 15:41 -0400, Alice Wei wrote:

> > Date: Tue, 25 May 2010 13:40:44 -0400
> > Subject: Re:  
> Select Values Didn't Get Passed in From Two Different Forms
> > 
> From: marc.guay@xxxxxxxxx
> > To: ajwei@xxxxxxxxxxxxx
> > 
> >
>  > I would like to take those values away into my third form, which 
> is what you
> > > see with the hidden. If they are not populated,
>  then how come I could see
> > > the drop down menus?
> > 
> >
>  So you're expecting the values selected in the first two forms to
> >
>  populate the values of the hidden fields in the third form?  Why not
> >
>  wrap the whole thing in a single form?  Do test_getrss.php and
> > 
> test_getrss2.php perform anything useful or are they just hanging
> >
>  around?
> 
> No, the fields are populated in the first and second 
> form, form1 and form2. What I want to do is to get the selections from 
> both forms and pass them on to the third. Does this make sense? For some
>  reason, the text input and the semester drop down menu result can be 
> passed to process.php, but the results that I try to select from the 
> first and second does not. So, the form is not passing the results of 
> what I had from the radio button selections.
> 
> To illustrate, the 
> second looks something like this:
> 
> echo "<select 
> name='end_location'>";
> while($nt=mysql_fetch_array($result)){//Array
>  or records stored in $nt
> echo "<option 
> value=$nt[0]>$nt[0]</option>";
> }
> echo "</select>";
> 
> How
>  can I pass the values of what I picked in end_location here to 
> process.php?
> 
> Thanks for your help.
> 
> Alice
>  		 	   		   		 	   		  
> _________________________________________________________________
> The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail. 
> http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5


You can only pass results from both forms if you duplicate the results
of one in the other and then submit that one. You can't submit two forms
at the same time. Why do they have to be two forms anyway?

Thanks,
Ash
http://www.ashleysheridan.co.uk



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux