title: returning statement created by mysqli_stmt_bind_param
body: <p>I am using mysqli_stmt_bind_param() to create an INSERT statement. For some reason I am getting an error. I used mysqli_error() to see the error message, but it's not especially useful.</p>
  
  <p>Is there a way to just see what query is actually being executed?</p>
  
  <p>the resulting error:</p>
  
  <blockquote>
    <p>You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc,date,expdate,mintix,maxtix,contactname,contactemail,contactphone) VALUES (?' at line 1</p>
  </blockquote>