Forum Moderators: coopster
For example, I'd like to be able to click on "cars" and pull (from a second table or database?) a second list which will display a sublist such as sedans, minivans, SUVs, etc. From those items, I'd like to link to a third page so that minivans or SUVs or whatever could be broken down further by manufacturer, such as Honda, Toyota, etc. I'd like to do the same with bikes and boats. Seems like it should be simple but I can't seem to put the right SQL script together in the Dreamweaver recordset. I can put the tables together in phpMyadmin but I'm not sure if I'm doing it right with the primary keys, etc. I can't seem to get the "cars, bikes, boats" to display the subcategories separately on the second page. I just seem to get a jumbled mess of all the different subcategories I want to set up. Any suggested directions/script is appreciated. Problem is, I don't even know enough to know what I don't know! Thanks in advance.
Then pull the data with search query:
$sql = "SELECT * FROM $table GROUP BY manufacturer";
on next level
$sql = "SELECT * FROM $table WHERE manufacturer='$manufacturer' GROUP BY pruduction_year";
etc. I hope you grasp what I am trying to explain
Regards
Michal