RE: [PHP] Select Values Didn't Get Passed in From Two Different Forms
| From: | Alice Wei | Date: | Mon, 31 May 2010 19:37:01 +0000 |
| Subject: | RE: [PHP] Select Values Didn't Get Passed in From Two Different Forms | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-305675@lists.php.net to get a copy of this message | ||
> Date: Mon, 31 May 2010 11:56:38 -0400
> To: php-general@lists.php.net; ajwei@alumni.iu.edu
> From: tedd.sperling@gmail.com
> Subject: RE: [PHP] Select Values Didn't Get Passed in From Two Different Forms
>
> At 7:23 PM -0400 5/30/10, Alice Wei wrote:
> >Tedd,
> >
> > Looks like I finally found the answer to my question, and the key
> >is the term, dependent drop down menu. There is an example that I
> >found here,
> >[x?’ù
> >´›ÏNq$à(Whttp://www.huanix.com/files/dependent_select/dependent_select.txt,
> >and after editing everything, looks like what I want is not so far
> >to reach. As I am writing now, I got the code I desired to work
> >after studying what went on in the code from the above link.
> >
> >Thanks for your help, and looks like I solved the problem, I may be
> >able to close the thread now.
> >
> >Alice
>
>
> Alice:
>
> An interesting solution.
>
> I tested it here:
>
> http://php1.net/a/ajax-select-db
>
> The database needs a little work -- I wasn't aware that Virginia was
> a State in Germany. :-)
>
> It also needs a little work when someone changes an intermediate
> selection to null the ones further down the chain -- it only goes one
> deep.
>
> The control also uses GET when I think POST would work better -- at
> least it would hide the inner-workings of the control from the user.
>
> However, if that was what you were looking for then great.
About the get and post, yes, I did change that to post in my sample, but thanks for pointing it out.
Alice
>
> Good luck and thread closed.
>
> Cheers,
>
> tedd
>
> --
> -------
> http://sperling.com
> http://ancientstones.com
> http://earthstones.com
_________________________________________________________________
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1