hey im looking to find out how to print a query back after binding the parameters to the query
$sql contains a query with placeholders
$sth = $package->prepare($sql);
$sth->bind_param(1, $a);
$sth->bind_param(2, $b);
$sth->bind_param(3, $c);
$sth->bind_param(4, $d);
$sth->execute;
once the 4 paramters are bound to the query, i want to put the fully formed query into a variable
any help?
$sql contains a query with placeholders
$sth = $package->prepare($sql);
$sth->bind_param(1, $a);
$sth->bind_param(2, $b);
$sth->bind_param(3, $c);
$sth->bind_param(4, $d);
$sth->execute;
once the 4 paramters are bound to the query, i want to put the fully formed query into a variable
any help?