Echo setQuery
Hello,
What is the method to echo the setQuery?
For instance, I'm passing a Post from a Select List to render a new recordset but want to double checked the final formed query.
<?php
$Records = new WA_MySQLi_RS("Records",$Domains_i,1);
$Records->setQuery("SELECT * FROM inv_task WHERE inv_task.tsk_type = ?");
$Records->bindParam("i", "".$_POST['selinvoiceType'] ."", "4"); //target
$Records->execute();
?>
echo setQuery; directly after the line does not render anything to the screen. We could do this with traditional recordset generations but not sure how to attain the same goal with MySQLi