title: How to display mysql table data on wordpress using $wpdb?
body: <pre><code>&lt;?php 
  global $wpdb;
  $results = $wpdb-&gt;get_results("SELECT * FROM student");
  while($row = mysql_fetch_array( $results )) { 
    echo $row['id'];
    echo  $row['name'];
  }
  ?&gt;
  </code></pre>
  
  <p>I simply want to display id and name column values.</p>