"should i have to upgrade my website to php mysqli or pdo?" Code Answer

4

the answer is fairly simple.

if, like majority of php users, you are going to use database api functions right in the application code, without any intermediate wrapper, then pdo is your only choice, as it's a sort of wrapper already, automating many operations that with mysqli have to be done manually.

no, there are no migration options, because the very approach is changed dramatically: instead of placing variables right in the query, they have to be substituted in the query with special marks. there is no way to automate this process.

By mrrclb46z on October 15 2022

Answers related to “should i have to upgrade my website to php mysqli or pdo?”

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