mysqli 和 mysql 的区别?

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

可能的重复:
MySQLi 相对于 MySQL 的优势

我正在构建一个大型数据库,想知道哪个最好用?

I am building a large database and wondered which is the best to use?

我现在正在清理我的值并为安全性转义字符,但我想知道这些 mysql 查询在 php 中的不同好处?

I am sanitizing my values now and escaping characters for security but I would like to know the different benefits of these mysql querys in php?

谢谢.

推荐答案

使用 MySQLi 替代旧的 MySQL 函数.i"代表改进".改进列表可以在文档中找到.

Use MySQLi over the older MySQL functions. The "i" stands for "improved". The list of improvements can be found in the docs.

相关文章