• 欢迎访问速搜资源吧,如果在网站上找不到你需要的资源,可以在留言板上留言,管理员会尽量满足你!

【速搜问答】MySQLi是什么

问答 admin 3年前 (2020-07-08) 484次浏览 已收录 0个评论

汉英对照:
Chinese-English Translation:

PHP-MySQL是PHP操作MySQL资料库最原始的Extension,PHP-MySQLi的i代表Improvement,提更了相对进阶的功能,就Extension而言,本身也增加了安全性。

PHP MySQL is the most original extension for PHP to operate MySQL database. The I of PHP MySQL Li stands for improvement, which improves the relatively advanced functions. As far as the extension is concerned, it also increases the security.

PHP–MySQL 是 PHP 操作 MySQL 资料库最原始的 Extension ,PHP-MySQLi 的 i 代表 Improvement ,提更了相对进阶的功能,就 Extension 而言,本身也增加了安全性。

PHP – MySQL is the most original extension for PHP to operate MySQL database. The I of PHP MySQL Li stands for improvement, which improves the relatively advanced functions. As far as the extension is concerned, it also increases the security.

php MySQLi 的意思是:

PHP mysqli means:

1、mysqli 是 mysql 系统函数的增强版,更稳定更高效更安全;

1. Mysqli is an enhanced version of MySQL system functions, which is more stable, efficient and secure;

2、mysqli 与 mysql 都是 php 方面的函数集;

2. Both mysqli and MySQL are PHP function sets;

3、mysqli 是永远连接函数,mysqli 多次运行使用同一连接进程,减少服务器的开销。

3. Mysqli is always connected function. Mysqli runs multiple times using the same connection process to reduce the server overhead.

mysql 与 mysqli 区别:

Difference between MySQL and MySQL:

(1)、mysql 是非持继连接函数,mysql 每次链接都会打开一个连接的进程。

(1) MySQL is a non continuous connection function. Each link of MySQL will open a connected process.

(2)、 mysqli 是永远连接函数,mysqli 多次运行 mysqli 将使用同一连接进程,从而减少了服务器的开销。mysqli 封装了诸如事务等一些高级操作,同时封装了 DB 操作过程中的很多可用的方法。

(2) Mysqli is a permanent connection function. If mysqli runs mysqli many times, it will use the same connection process, thus reducing the server overhead. Mysqli encapsulates some advanced operations such as transactions, and encapsulates many available methods in the process of DB operation.


速搜资源网 , 版权所有丨如未注明 , 均为原创丨转载请注明原文链接:【速搜问答】MySQLi是什么
喜欢 (0)
[361009623@qq.com]
分享 (0)
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址