title: I'd like to pick 1 column of MySQL table rows
body: <p>I have a made a MySQL table, and I've been trying to make it answer on my site. As for now, it picks all the columns in my rows, and I wanted to pick a specific column. </p>
  
  <p>Does anyone know a better way to make it echo on your page?</p>
  
  <pre><code>&lt;?php
  $data = "SELECT * FROM anmeldelser";
  
  $result = $connection-&gt;query($data);
  
  
  
  while($row = $result-&gt;fetch_array()){
  
      echo "&lt;b&gt;Kundenavn:&amp;nbsp;&lt;/b&gt;" . $row['Kundenavn'] . "&lt;b&gt;&amp;nbsp;Kommentar:&amp;nbsp;&lt;/b&gt;" . $row['Kommentar'] . "&lt;b&gt;&amp;nbsp;Dato:&amp;nbsp;&lt;/b&gt;" . $row['Dato'];
  
  }
  
  ?&gt;`
  </code></pre>
  
  <p>This gives the result of every row in my db. I want to pick one random or just be specific about which one I want to place in which div.</p>
  
  <p>Thanks in advance.</p>