title: MySQL Inner Join query only returning one result in PHP
body: <p>I have two tables in my DB: <code>users</code> and <code>tickets</code>.  The <code>users</code> table has the users info and the <code>tickets</code> table has the tickets information with a <code>user_id</code> associated to the <code>users</code> table.  Easy enough.  The issue I'm running into is when I run an <code>INNER JOIN</code> MySQL query and <code>print_r</code> the results I'm getting one result when I should be getting multiple results as you can see from using the same MySQL query in SequelPro:  <a href="http://screencast.com/t/dwrVExxLPS" rel="nofollow">http://screencast.com/t/dwrVExxLPS</a></p>
  
  <p><strong>CODE</strong></p>
  
  <pre><code>$sql = "SELECT tickets.user_id, ticket_text, username FROM tickets INNER JOIN users ON tickets.user_id = users.id";
  $stmt = $conn-&gt;query($sql);
  $stmt-&gt;execute();
  $result = $stmt-&gt;fetch(PDO::FETCH_ASSOC);
  
  print_r($result);
  </code></pre>
  
  <p>This is what is dumped out via the <code>print_r</code> function: <a href="http://screencast.com/t/c5Llsb8Mj7y" rel="nofollow">http://screencast.com/t/c5Llsb8Mj7y</a></p>
  
  <p>Why only one result?  </p>