I have a message system on my site and I would like to see a list of users who sent me a message while displaying only the last message of each user. Same way as facebook.
So, I have a table with the IDUSERSENDER, IDUSERRECEIVER, DATE AND MESSAGE
I tried on several time to take a query but I can not have the last message of each.
Idea?
ok, again, try this please