<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
	<id>https://arolstar52-zhtest.hf.space/index.php?action=history&amp;feed=atom&amp;title=MySQLi</id>
	<title>MySQLi - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://arolstar52-zhtest.hf.space/index.php?action=history&amp;feed=atom&amp;title=MySQLi"/>
	<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=MySQLi&amp;action=history"/>
	<updated>2026-06-25T17:32:01Z</updated>
	<subtitle>在这个wiki上该页的修订历史</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://arolstar52-zhtest.hf.space/index.php?title=MySQLi&amp;diff=2170953&amp;oldid=prev</id>
		<title>imported&gt;InternetArchiveBot：​补救2个来源，并将0个来源标记为失效。) #IABot (v2.0.7</title>
		<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=MySQLi&amp;diff=2170953&amp;oldid=prev"/>
		<updated>2020-12-09T09:48:09Z</updated>

		<summary type="html">&lt;p&gt;补救2个来源，并将0个来源标记为失效。) #IABot (v2.0.7&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;MySQLi名稱是取自MySQL Improved的縮寫，它是[[MySQL]]針對[[PHP]]所設計的一個[[外掛程式|擴充模組]]。&lt;br /&gt;
&lt;br /&gt;
雖然[[PHP]]原本就有能夠存取MySQL的[[函式庫]]，但是在MySQL 4.1.3版之後，PHP官方強烈推薦使用MySQLi。&amp;lt;ref name=&amp;quot;php&amp;quot;&amp;gt;{{Cite web |url=http://www.php.net/manual/en/mysqli.overview.php |title=存档副本 |accessdate=2013-07-17 |archive-date=2020-11-06 |archive-url=https://web.archive.org/web/20201106054925/https://www.php.net/manual/en/mysqli.overview.php |dead-url=no }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==好處==&lt;br /&gt;
根據PHP官方文件&amp;lt;ref name=&amp;quot;php&amp;quot; /&amp;gt;，MySQLi至少有下列的好處:&lt;br /&gt;
* [[物件導向]]的介面&lt;br /&gt;
* 支援多重語句/指令&lt;br /&gt;
* 增強[[除錯]]功能&lt;br /&gt;
&lt;br /&gt;
==API==&lt;br /&gt;
MySQLi提供了[[面向对象]]和[[面向过程]]两种[[API]]接口&amp;lt;ref name=&amp;quot;api&amp;quot;&amp;gt;{{Cite web |url=https://www.php.net/manual/zh/mysqli.summary.php |title=存档副本 |accessdate=2020-11-19 |archive-date=2020-11-27 |archive-url=https://web.archive.org/web/20201127201951/https://www.php.net/manual/zh/mysqli.summary.php |dead-url=no }}&amp;lt;/ref&amp;gt;，虽然两种接口可以混合使用，但是在项目中保持一致是良好的编码习惯。&lt;br /&gt;
&lt;br /&gt;
==参见==&lt;br /&gt;
[[PDO]]是PHP连接MySQL的另外一个常见扩展。&lt;br /&gt;
&lt;br /&gt;
==參考==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
[[分类:数据库]]&lt;/div&gt;</summary>
		<author><name>imported&gt;InternetArchiveBot</name></author>
	</entry>
</feed>