Jump to content

Recommended Posts

Hi, I have a directory full of companies. I want to display them all at once, but break them down into categories. They are all in one table and category is one of my fields which is selected at point of adding to table. I don't know quite how to code it.

 

It would look something like this:

 

Housing

_____________________

Company 1

Company 2

Company 3

Etc

 

Building

_____________________

Company 1

Company 2

Company 3

Etc

 

And so on ....

 

Thanks in advance

This topic has been moved?It is a PHP question as I am talking about when I display the information on the pge I want to show all of the companies that are part of the "Housing" be under a category called "housing" and complete all of it in one query?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.