title: Non-Static Methods Being Called Statically PHP
body: <p>I am new to PHP, and have encountered many problems with some code that I am writing that I have been able to solve. But, one problem seems to never disappear. I constantly receive the error message <code>Fatal error: Non-static method mysqli::select_db() cannot be called statically</code>. The code the error refers to will be below. If anyone has a solution to this problem, as well as an explanation, that would be most helpful.</p>
  
  <pre><code>$db_selected = mysqli::select_db($link, DB_NAME);
  
  if (!$db_selected) {
      die('Can\'t use ' . DB_NAME . ': ' . mysql_error());
  }
  </code></pre>
  
  <p>EDIT</p>
  
  <p>Other Stack Exchange questions are not helpful for this situation. Explaining to me the fact my question is low-level does not help, as I already understand that and acknowledged it above.</p>