Hello, I don't have any knowledge or experience about programming or web languages. I'm just trying to learn. I need a web-site which has comboboxes like; First, i need a selection box which can be selected like (car or ship), According to choice i need comboboxes like; - Brand -- Model ---Year ----Power -----Colour ------Something else (I need 1 selection box + 6 level comboboxes ) After the choices, there will be lists of the alternatives according to selection of user. So user will choose some of them and send e-mails to the choosen ones at the same time. I just have an idea and want to ask which programming language (PHP, ASP, Java, C++ etc.) is better for a website with multi-level comboboxes? Also i would like to see a similar code with that if there is one.
The need for multilevel comboboxes doesn't dictate the language. I'd use PHP, but some people would use ASP. Java and C++ are for desktop apps. (People, please let's not get into the relative merits of languages here - consider the level of the OP's question.) You have 2 choices to do what you want. 1) Send the client all the possibilities - all brands, all models, etc. Have the client-side code populate the comboboxes as the higher level ones are selected. The downside of this is a long load time because of the amount of data being sent at one time. 2) Send the client all the brands in the Brand combobox. When the client selects a brand, query the server for the models of that brand. Get them and populate the Model combobox. (You use AJAX to do all this.) The downside is that some developers will tell you that you don't really need AJAX. If you feel that way, see #1.