Hello Friends
Here I have created 3 tables. They are
Table Name: TheatreMaster
-----------------------------------------------------------------------------------------------------
tid tname showtime address phone mobile email
-----------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------
Table Name: MovieMaster
--------------------------------------------------------------------------------------------------------
mid moviename actors director producer
--------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------
Table Name: ShowDetails
----------------------------------------------------------------------------------------------------------
sid date tid mid showtime tickettypes status
----------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------
The dilemma is I want to select the tname (Theatre name) from "TheatreMas ter" depending on the moviename on "MovieMaste r" via table "ShowDetail s".
i.e if I have 2 dropdown list boxes & in the 1st dropdownlistbox (which is populated with the movienames from table MovieMaster) if I select the movie name then the 2nd dropdownlist box should automatically filled with tname(Theatre Names) using the table "ShowDetail s". What is the query for this?
-sweatha
Here I have created 3 tables. They are
Table Name: TheatreMaster
-----------------------------------------------------------------------------------------------------
tid tname showtime address phone mobile email
-----------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------
Table Name: MovieMaster
--------------------------------------------------------------------------------------------------------
mid moviename actors director producer
--------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------
Table Name: ShowDetails
----------------------------------------------------------------------------------------------------------
sid date tid mid showtime tickettypes status
----------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------
The dilemma is I want to select the tname (Theatre name) from "TheatreMas ter" depending on the moviename on "MovieMaste r" via table "ShowDetail s".
i.e if I have 2 dropdown list boxes & in the 1st dropdownlistbox (which is populated with the movienames from table MovieMaster) if I select the movie name then the 2nd dropdownlist box should automatically filled with tname(Theatre Names) using the table "ShowDetail s". What is the query for this?
-sweatha
Comment