Hi!
My question is about html comboboxes that changes dinamycally data.
Scenario.
i have 3 tables (implemented using mySQL):
1) "cpu" table: cpu_code, cpu_name, cpu_id_socket(key)
2) "mb" table: mb_code, mb_name, mb_id_socket(key)
3) "socket_type" table: id(key), socket_type
Request.
i need 2 comboboxes:
the first one contains the names of all mbs;
the second one, must change the values(possibly on the fly, without redirecting datas to other pages(using a php script called by onChange property ??)) depending on the type of socket of the selected mobo in combo1.
Problem.
The problem is not in implementing connection stuff and looping to fill the comboboxes, but implementing the code (js+php, maybe?) makes me possible to have the second combobox that change its content "in real time"
P.S.
i'm new to mysql and php (and english language, too ;-)
Thanks for any ideas/help!!!
Paolo