title: Call to a member function bind_param() on boolean error in PHP-->MySQL
body: <p>My code is as follows: </p>
  
  <pre><code>include('config.php');
  
  $mysqli = new mysqli(DBHOST, DBUSER, DBPASS, DBNAME);
  
  $statement = $mysqli-&gt;prepare("INSERT INTO brickTable (url, description) VALUES(?,?)");
  
  $statement-&gt;bind_param("ss", $_POST["url"], $_POST["description"]);
  </code></pre>
  
  <p>I keep getting the error "Call to a member function bind_param() on boolean". I've looked all over S.O., and found several examples, but none that solved my issue. I don't see any syntax or typo errors in my code. Using a var_dump, I know that the $_POST["url"] and $_POST["description"] exist and are being received properly.</p>
  
  <p>Thoughts or help?</p>