On Jul 31, Octavian Rasnita said:
select ... limit 0,30;
but I cannot use:
$sth = $dbh-prepare(select ... limit ?,?);
$sth-execute(0, 30);
... because DBI replaces the values entered with '0' and '30' and the query
won't be valid.
No, you probably can't do that because your SQL engine
Hi,
I want to use a query like:
select ... limit 0,30;
but I cannot use:
$sth = $dbh-prepare(select ... limit ?,?);
$sth-execute(0, 30);
... because DBI replaces the values entered with '0' and '30' and the query
won't be valid.
Is there a method to escape the values entered directly, and