Jump to content

[SOLVED] List all records but seperate list by one field


joshgarrod

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?

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.