eakinpeter
Programmer
Hi all
Problem is I want to return unique results based on 2 fields:
I have a table tags_photos which is a join table and has 2 fields: tagId and PhotoId.
I want to create a page which has a list of all tags and a thumbnail against each tag. However I only want to show each tag once and I want a diff picture for each tag (so the same pic isn't repeated).
Any help would be appreciated
Peter
Problem is I want to return unique results based on 2 fields:
I have a table tags_photos which is a join table and has 2 fields: tagId and PhotoId.
I want to create a page which has a list of all tags and a thumbnail against each tag. However I only want to show each tag once and I want a diff picture for each tag (so the same pic isn't repeated).
Any help would be appreciated
Peter