Grouping Records with the same value

Posted by Ben on Stack Overflow See other posts from Stack Overflow or by Ben
Published on 2010-04-05T07:29:20Z Indexed on 2010/04/05 7:33 UTC
Read the original article Hit count: 276

Filed under:
|

I am trying to create a conversations based messaging system.

I want to group all messages that have the same conversation_id so that when I display a list of current conversations you only see the latest message from each conversation.

Can I group the values in the mysql query, or would I have to do it in the php?

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql