title: Warning: mysqli_query() expects parameter 1 to be mysqli error
body: <pre><code>include_once("php/db_connects.php");
  
  $tbl_status = "CREATE TABLE IF NOT EXISTS status ( 
                  id INT(11) NOT NULL AUTO_INCREMENT,
                  osid INT(11) NOT NULL,
                  account_name VARCHAR(16) NOT NULL,
                  author VARCHAR(16) NOT NULL,
                  type ENUM('a','b','c') NOT NULL,
                  data TEXT NOT NULL,
                  postdate DATETIME NOT NULL,
                  PRIMARY KEY (id) 
                  )"; 
  $query = mysqli_query($tbl_status, $db_connects); 
  if ($query === TRUE) {
      echo "&lt;h3&gt;status table created &lt;/h3&gt;"; 
  } else {
      echo "&lt;h3&gt;status table NOT created &lt;/h3&gt;"; 
  }
  </code></pre>
  
  <p>I keep getting the mysqli error. Im prtty sure that i'm not using msql in my php.</p>