CodeIgniter switching driver from mysql --> mysqli

前端 未结 1 1134
挽巷
挽巷 2021-01-17 19:34

I was reading this question: The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead

And it got me thinking that I should make

相关标签:
1条回答
  • 2021-01-17 20:07

    Are there certain queries that are treated differently?

    No.

    The MySQL and MySQLi extension are “drivers” that take care of the communication between PHP and the MySQL database server;

    they do not change the range of SQL commands that the MySQL server understands.

    So as long as the DB abstraction layer takes care of what PHP functions are to use for what purpose for you (and a framework like CI should most certainly do that), there is nothing to worry about in regard to the actual queries.

    0 讨论(0)
提交回复
热议问题