"error while using pdo prepared statements and limit in query " Code Answer

2

Regarding to post LIMIT keyword on MySQL with prepared statement , the code below could solve my problem.

$db->setAttribute(PDO::ATTR_EMULATE_PREPARES, FALSE);

Thanks Álvaro G. Vicario and Maerlyn

By nhanc1128-c805b7f1323e on August 4 2022

Answers related to “error while using pdo prepared statements and limit in query ”

Only authorized users can answer the search term. Please sign in first, or register a free account.