mysqli 和 mysql 的区别? [英] Difference between mysqli and mysql?

查看:26
本文介绍了mysqli 和 mysql 的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能的重复:
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.

这篇关于mysqli 和 mysql 的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆