title: developing a plugin - trying to use wordpress database
body: <p>I'm trying to use $wpdb, and I'm having some issues. at the top of my code, i put 
  global $wpdb;</p>
  
  <p>and below it, I put
  $wpdb->show_errors();</p>
  
  <p>when I try to use this plugin, I get this error:</p>
  
  <p>Fatal error: Call to a member function show_errors() on a non-object in /home/jordan/public_html/aa/wp-content/themes/jordantheme/customplugin.php on line 4</p>