|
The MySQLi Extension (MySQL Improved) is a relational database driver used in the PHP programming language to provide an interface with MySQL databases. There are three main API options when considering connecting to a MySQL database server: * PHP's MySQL Extension * PHP's MySQLi Extension * PHP Data Objects (PDO) The PHP code consists of a core, with optional extensions to the core functionality. PHP's MySQL-related extensions, such as the MySQLi extension, and the MySQL extension, are implemented using the PHP extension framework. An extension typically exposes an API to the PHP programmer, to allow its facilities to be used programmatically. However, some extensions which use the PHP extension framework do not expose an API to the PHP programmer. The PDO MySQL driver extension, for example, does not expose an API to the PHP programmer, but provides an interface to the PDO layer above it. MySQLi is an improved version of the older PHP MySQL driver, offering various benefits. The developers of the PHP programming language recommend using MySQLi when dealing with MySQL server versions 4.1.3 and newer (takes advantage of new functionality).〔 ==Technical details== The MySQLi extension provides various benefits with respect to its predecessor, the most prominent of which, (according to the PHP website,〔 ) are: * An object-oriented interface * Support for prepared statements * Support for multiple statements * Support for transactions * Enhanced debugging support * Embedded server support * More powerful Functionality 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「MySQLi」の詳細全文を読む スポンサード リンク
|