title: PHP MySQL Query Printing
body: <p>Is there anyway I can see a query once it has been run and all variables have been instantiated?</p>
  
  <p>e.g. I want to see the end result (String) of </p>
  
  <pre><code>$query = $this-&gt;db-&gt;query("SELECT email, password FROM users
      WHERE email = '$email' AND password = 'PASSWORD($password)'");
  </code></pre>
  
  <p>I would like to see the query string after PASSWORD($password) has been done.</p>