Jump to content

ignoring duplicates


ukscotth

Recommended Posts

Hi,

 

I have a database table which is full of books e.g book_title, book_author, book_date etc.  Im trying to work out a way to list all the authors without duplicating them, if that makes sense.

 

If I do a simple query and then display the book_author in a loop it will show multiple entries for each author.

 

I just want it to display each author once.

 

Hope that makes sense lol sorry Im a newbie.

 

Anyone know how I can do it ?

 

Thanks in advance,

 

Scott.

 

 

Link to comment
https://forums.phpfreaks.com/topic/245445-ignoring-duplicates/
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.