title: Wordpress $wpdb->get_results() query
body: <p>I am trying to run a mysql_fetch_array via Wordpress. I found out the best way to do this is explained here: <a href="http://codex.wordpress.org/Class_Reference/wpdb#SELECT_Generic_Results" rel="noreferrer">http://codex.wordpress.org/Class_Reference/wpdb#SELECT_Generic_Results</a></p>
  
  <p>Here is my query below:</p>
  
  <pre><code>$sql = "SELECT * FROM wp_reminders WHERE reminder LIKE '$today'";
  $result = $wpdb-&gt;get_results($sql) or die(mysql_error());
  
      foreach( $result as $results ) {
  
          echo $result-&gt;name;
      }
  </code></pre>
  
  <p>The above is not pulling in any results at all, even though the data does exist. Any ideas what I am doing wrong?</p>