title: CMS made simple: using mysql_select_db($dbname); messes up everything
body: <p>hi im fairly new to cms made simple and ive stumbled upon a problem thats beyond me, my coad is</p>
  
  <pre><code>&lt;?php
  
  $dbh = 'localhost';
  $dbu = 'root';
  $dbp = '';
  
  $connect = mysql_connect($dbh, $dbu, $dbp) or die ('Error connecting to mysql');
  
  $yatzi = 'myposts';
  mysql_select_db($yatzi);
  
  echo "hello";
  ?&gt;
  </code></pre>
  
  <p>and im using this through a user defined tag to import a php file, the proble is that everytime i load this page an error pops up saying:</p>
  
  <p>string(61) "Smarty error: unable to read resource: "globalcontent:footer"" string(61) "Smarty error: unable to read resource: "globalcontent:footer"" </p>
  
  <p>and everything gets messedup, i seriously have no idead what is going on, can anybody please help me,, thnks...</p>