title: Display all rows with the same id
body: <p>Here is my table:</p>
  
  <pre><code>Place_Id | Value_Name| Value
  -------------------------------
  001      | Name1     | Value1
  -------------------------------
  001      | Name2     | Value2
  -------------------------------
  001      | Name3     | Value3
  -------------------------------
  002      | Name1     | Value4
  -------------------------------
  002      | Name2     | Value5
  </code></pre>
  
  <p>How can I echo out list of all <code>Value_Name</code> for <code>Place_Id</code> 001 ?</p>
  
  <p>I tried this:</p>
  
  <pre><code>&lt;?php
  $query2 = ("SELECT * FROM table WHERE Place_Id = 001");
  if ($statement2 = $db_conn_pdo-&gt;prepare($query2))
  {
    $statement2-&gt;execute();
    while ($row2 = $statement2-&gt;fetch(PDO::FETCH_ASSOC)) 
     {
      $output2 = $row2['Value_Name'];
    } 
  }
  echo $output2;
  ?&gt;
  </code></pre>
  
  <p>and it returned only the last "Value_Name".</p>