Skip to content
Advertisement

Display contact database by all categories it is marked, then alphabetical order

I’m trying to build a Vendor Contact Database with categories. Various vendors are marked under more than one category. I have structured my table as the following:

My Current Code

This is just a basic idea. My contact database has more fields including phone number, email, etc.

Seeing how our category numbers have grown to a large amount, I’m looking for a way to not have to copy the same code multiple times within the same page in order to display all the categories.

Advertisement

Answer

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement