title: why am i getting an error from file mysqli/mysqli_driver.php?
body: <p>I have just uploaded my project to my website server and i am getting this error message when i click on my submit button for my logging in form.</p>
  
  <pre><code>A PHP Error was encountered
  Severity: Warning
  
  Message: mysqli_real_escape_string() expects parameter 1 to be mysqli, boolean given
  
  Filename: mysqli/mysqli_driver.php
  
  Line Number: 315
  </code></pre>
  
  <p>I have absolutely no errors on my local server and i am completely stumped on what the problem is. if some one could please help i would be greatly appreciative and much respect will be given.</p>
  
  <p>My project is using codeigniters framework.</p>