如何将我的站点从 mysql 迁移到 mysqli?

2021-12-25 00:00:00 php mysqli

在数据库端有什么我必须做的吗,还是只是 php 发生了变化?我可以用 mysqli 函数代替 mysql 函数吗?还有什么我应该知道的吗?

Is there anything I have to do on the database end or is it just the php that changes? Can I just substitute mysqli functions for mysql functions? Anything else I should know?

推荐答案

我建议你通读一遍.很多关于您想要做什么的有用信息,以及提供帮助的工具.请参阅:转换为 MySQLi.

I advise you to read through this. A lot of helpful information for what you want to do, plus a tool to help. See: Converting to MySQLi.

改变的只是 PHP.

相关文章