title: i want sales report in blocks
body: <p>I have two table <code>sales_person</code> and <code>sales</code></p>
  
  <p>sales_person</p>
  
  <pre><code>id|sales person|email|username|password|
  </code></pre>
  
  <p>sales</p>
  
  <pre><code>id|company name|contact person|email|phone|sold by|booth number|date|
  </code></pre>
  
  <p>i want the sales report of the each sales persons in blocks how can i do this </p>
  
  <pre><code>SELECT `company_name`, `contact_person`, `phone_number`, `booth_number` 
     FROM `registration` 
     WHERE `sold_by` = '$username'";
  </code></pre>