does the sth->execute(); not execute the bound query?
surely for it to do that it must know the query is correct form and should have a copy of the query it ran in its meta data somewhere
apologies if this sounds stupid im only new to perl
could you show me an example replace ? with parameter...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.