Mysqli 简明教程

MySQLi Tutorial

MySQLi 扩展在 PHP 版本 5.0.0 中引入,MySQL 原生驱动程序包含在 PHP 版本 5.3.0 中。i 代表 MySQLi 中的改进,并提供各种函数来访问 MySQL 数据库并在 MySQL 数据库内部操作数据记录。您需要以调用任何其他 PHP 函数的方式来调用 MySQLi 函数。

The MySQLi extension was introduced with PHP version 5.0.0 and the MySQL Native Driver was included in PHP version 5.3.0. i stands for improved in MySQLi and provides various functions to access the MySQL database and to manipulate the data records inside the MySQL database. You would require to call the MySQLi functions in the same way you call any other PHP function.

Audience

本教程专为想要详细了解 PHP MySQLi 函数连接到 MySQL 的实际用法的 Java 程序员设计。

This tutorial is designed for Java programmers who would like to understand the PHP MySQLi functions to connect to MySQL in detail and actual usage.

Prerequisites

继续本教程之前,你应充分理解 PHP 编程语言。由于你将处理 MySQL 数据库,你应提前了解 SQL 和数据库概念。

Before proceeding with this tutorial, you should have a good understanding of PHP programming language. As you are going to deal with MySQL database, you should have prior exposure to SQL and Database concepts.