I'm new to PHP.
I have a list of products in my database and I call them using:
$mysql = new MySqlManager(); $product = $mysql->getAllProducts();
Now I have two three dropdownlists: category, type, model ; of course each product belongs to one of these three categories. What I want is that when the user selects the category (i.e. fridge, vaccum cleaner, portable devices, etc.), then a second dropdownlist appears (with or without refreshing the page, I don't care) and the user can choose between the type of product based on the category (i.e. if category was fridge, then in type you would find freezer, big fridges, small fridges, etc.). Then a third dropdownlist appears and the user can choose between the different models of types of products he chose before. I hope this explanation is clear, sorry if it is not.
Please help :)