Jump to content

[SOLVED] MySQL Results


cheechm

Recommended Posts

Hi,

I have got these results:

+-----------+
| Catalogue  |
+-----------+
| Cat1         |
| Cat1         |
| Cat2         |
| Cat3         |
+-----------+

So I query saying SELECT * from Catalogue.

 

The results returned are:

 

Cat1

Cat1

Cat2

Cat3

 

But you see there is two Cat1s. How do I make it so that if there is a result which is the same, only one of them is displayed? So I get this:

 

Cat1

Cat2

Cat3

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/118678-solved-mysql-results/
Share on other sites

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.