darryncooke
Technical User
First off I am looking more as to where to start this journey.
I am building a local business directory of which I have over 100K records.
Each record has a colum 'primary industry', 'secondary industry', 'primary line of business', 'secondary line of business'.
So lets say the 'primary industry' are the macro fields (i.e. leisure, manufacturing, retail, etc.) 'Secondary' would be if the company fell into 2 categories.
'Primary line of business' would be like Restaurant, Apparel, and 'Secondary line of business' would be Italian, Mexican, Men's, etc.
can I use PHP to build this navigation (just like any other directory) where it pulls results from the colum where there are at LEAST 25 records.
IE if there are 26 Italian Restaurants then that category would show. Other wise it wouldnt.
So it would look like this:
Leisure
Restaurants
Italian (35)
Mexican (100)
Arcades
I want this to only be for the Line of Businesses. Also how would I show the count, and is this the most effecient way to do this?
I was thinking about making a separate table which would be just the navigation but with the number of records I just dont have the time to clean up the data completely. I have done about 1/4 of it and it has taken me about a week straight and I dont see an end in sight.
Thank you,
Darryn Cooke
| The New Orange County Graphic designer and Marketing and Advertising Consultant
| Marketing and Advertising blog
I am building a local business directory of which I have over 100K records.
Each record has a colum 'primary industry', 'secondary industry', 'primary line of business', 'secondary line of business'.
So lets say the 'primary industry' are the macro fields (i.e. leisure, manufacturing, retail, etc.) 'Secondary' would be if the company fell into 2 categories.
'Primary line of business' would be like Restaurant, Apparel, and 'Secondary line of business' would be Italian, Mexican, Men's, etc.
can I use PHP to build this navigation (just like any other directory) where it pulls results from the colum where there are at LEAST 25 records.
IE if there are 26 Italian Restaurants then that category would show. Other wise it wouldnt.
So it would look like this:
Leisure
Restaurants
Italian (35)
Mexican (100)
Arcades
I want this to only be for the Line of Businesses. Also how would I show the count, and is this the most effecient way to do this?
I was thinking about making a separate table which would be just the navigation but with the number of records I just dont have the time to clean up the data completely. I have done about 1/4 of it and it has taken me about a week straight and I dont see an end in sight.
Thank you,
Darryn Cooke
| The New Orange County Graphic designer and Marketing and Advertising Consultant
| Marketing and Advertising blog