在数据库端有什么我必须做的吗,还是只是 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.
这篇关于如何将我的站点从 mysql 迁移到 mysqli?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!