Customers will be able to pick any number of towns and cities they want to advertise in with this directory site, and of course each customer will be one of about 60 different trades/businesses…
This directory will first list all the types of trades/businesses (painter, electrician, plumber, etc…) signed up and ONLY those signed up. Then when each trade is clicked, a sub menu will come up of all the cities associated with that trade — so if there are three customers in the trade and each customer has 5 unique cities associated with them, then a total of 15 cities will display. Then when each city is clicked, the appropriate customer/customers will display that are associated with that city.
I’m racking my brain trying to figure out a database scheme to handle this. I’m thinking of having three tables (customers, trades, cities), but some fields will have to store arrays….
Can any of you share your ideas, if you have any…???