title: mysql query to display messages with sender and reciever
body: <p>my messaging schema is like this  </p>
  
  <pre><code>USER  
  id  
  name 
  </code></pre>
  
  <p><br></p>
  
  <pre><code>MESSAGE  
  id  
  messagetitle    
  sender_id    
  receiver_id  
  </code></pre>
  
  <p>I want to display <code>messagetitle</code> with sender and receivers name  </p>
  
  <p>for example MySQL query should display :  </p>
  
  <pre><code>+--------------+------------+--------------+
  | MessageTitle | SenderName | Recievername |
  +--------------+------------+--------------+
  | Important    | Raj        | Vijay        |
  | Solution     | Vijay      | Raj          |
  +--------------+------------+--------------+
  </code></pre>