Re: PHP / Javascript menu list population
bigfella wrote:
> Hello Folks,
>
> I would like a web page to have 2 menu lists
>
> The contents of the second menu list depending on the selection made in
> the first.
>
> The contents of the second would be populated from a database.
>
> I am fairly new to programming using PHP, Javascript and MySQL but I am
> sure what I am asking has been done before. Could someone please give
> me some pointers or direct me to a tutorial.
>
This *seriously* is not trivial. Try reading up on ajax and javascript RPC.
As an alternative way to solve the problem...
Way back when....Netscape used to render select/optgroup/...optgroup/option
as a cascaded menu but none of the current browsers do that - I guess you
could use PHP Layers menu to acheive the result.
C.
.
Relevant Pages
- Standardized Reporting
... > picked up a book called Incident Response awhile ago ... For starters, I don't see problem with folks posting, ... logs, ... of the lists is the "seagull poster"...he swoops in, ... (Incidents) - Re: Ports with GUI configs
... I personally felt we'd sufficiently discussed this to death, but now there's 2 different folks who want to tear it apart some more. ... If you're bored of this, tell me, and I will drag these folks either into private discussions, or maybe onto the ports list. ... I might have agreed with this, except, I have lived for a good while with the Gentoo "USE" lists, and I can tell you that having insufficent control over what goes ontp those lists causes havoc both with the users trying to select the proper wording of the lists, and the programmers ... You have to make certain that both users and programmers have a definite, firm meaning in mind when they use the keywords, because if you don't, USE lists are a PITA. ... (freebsd-questions) - [Critique me!] READ THIS NOW: WINXP DUAL BOOT/ASUS P4P plus useful links, too!
... Ok folks, I've gotten all but .5 yea's from several of the users on this ... -Software info: Kernel version, Window manager. ... Mailing lists: ... (Fedora) - Re: My New Home Page
... is that a list of folks who linked to you, ... I can keep supplying you with all the lists and articles you ... There you go again Mike. ... to the injustice of the world and a few bad people? ... (rec.outdoors.fishing.fly) - Re: Janet and AOL boards
... Think of all the folks who are happy to use OE, ... There's a lot of stuff I hate about it, but I haven't found any other email client that provides an integrated system like Outlook ... I can't help but think that, and AOL dropping their Usenet feed, are ... I sometimes wish the lists I'm ... (rec.pets.dogs.behavior) |
|