Re: [PHP] Dynamic value lookups

2003-06-03 Thread ROBERT MCPEAK
I agree that you will probably have to build all possible select value arrays on pageload if you want the select list to switch without a page reload. PHP is parsed by the webserver and then sent to the page. Javascript is parsed by the browser. You can use PHP to "dynamically" generate Javas

Re: [PHP] Dynamic value lookups

2003-06-03 Thread Steve Keller
At 6/2/2003 02:44 PM, Vijay Avarachen wrote: > I know I gotta do somethign with onchange="" That's Javascript, not PHP. > I was thinking perhaps I can just do somthing like onchange="PHP_SELF?product=". No I > know thats not the syntax but you get the idea =) That won't "dynamically load" any

[PHP] Dynamic value lookups

2003-06-03 Thread Vijay Avarachen
Ok I am attempting to do something very simple and I know it can be done, but I have been told otherwise. I have two select menu's, Products and Components. There is a one to many relationship between them (one product can have many components). I just want it so that when the user selects a