Hi yall
I'm a newbie, forgive me...
I am sure I have seen a simple way to do this, but I can't for the life of
me remember how it was done...
Say there is a database of jokes, from different jokers...
Some jokers submit lots of jokes, others only one...
I want to display the newest joke submitted by each joker, in a list sorted
by newness
(using, say, the joke_id primary key)
I only want one joke to show from each joker
And I want every joker to be represented in the list
I am sure I once saw a way of sorting an array so that only one joke from
each joker remained...
Or am I having some sort of acid flashback?
Can anyone help?
TTTIA
Mark
PS reading this back it looks like I'm taking the piss, but I am actually
quite serious :0)