title: Display column values from database
body: <p>I'm trying to display all the values from a specific column created by my Wordpress plugin (specifically, the ID's). Here is the code I have managed to use to display the column names, but I cannot get it to just display all the ID's. Here is the code:</p>
  
  <pre><code>function test() {
      global $wpdb;
      global $table_name;
      $testing = $wpdb-&gt;get_col_info('name', 0);
      foreach ($testing as $test) {
        echo $test;
      }
  }
  </code></pre>
  
  <p>And here you can see the output:</p>
  
  <p><a href="http://www.matthewruddy.com/premiumslider" rel="nofollow">www.matthewruddy.com/premiumslider</a></p>
  
  <p>Can anyone help me out?</p>