title: How to use MySQLi inside a namespace
body: <p>MySQLi works fine inside a class with no namespace and outside a class.</p>
  <p>I recently started using namespace and now I have stumbled on a code much like the following:</p>
  <pre><code> namespace Project;
  
   class ProjectClass{
  
        public static function ProjectClassFunction{
            $db = new mysql(data, data, data, data);
        }
  
   }
  </code></pre>
  <p>However, it reports back to me with a message</p>
  <blockquote>
  <p>&quot;Fatal error: Class 'Project\mysqli' not found&quot;</p>
  </blockquote>
  <p>How do I use mysqli inside a class which uses namespace?</p>