Documentation Home
Download this Manual
PDF (US Ltr) - 2.4Mb
PDF (A4) - 2.4Mb
HTML Download (TGZ) - 250.8Kb
HTML Download (Zip) - 258.4Kb

MySQL PHP API  /  MySQL Improved Extension

Chapter 3 MySQL Improved Extension

Table of Contents     [+/-]

3.1 Overview
3.2 Quick start guide     [+/-]
3.3 Installing/Configuring     [+/-]
3.4 The mysqli Extension and Persistent Connections
3.5 Predefined Constants
3.6 Notes
3.7 The MySQLi Extension Function Summary
3.8 Examples     [+/-]
3.9 The mysqli class     [+/-]
3.10 The mysqli_stmt class     [+/-]
3.11 The mysqli_result class     [+/-]
3.12 The mysqli_driver class     [+/-]
3.13 The mysqli_warning class     [+/-]
3.14 The mysqli_sql_exception class
3.15 Aliases and deprecated Mysqli Functions     [+/-]
3.16 Changelog

Copyright 1997-2020 the PHP Documentation Group.

The mysqli extension allows you to access the functionality provided by MySQL 4.1 and above. More information about the MySQL Database server can be found at

An overview of software available for using MySQL from PHP can be found at Section 3.1, “Overview”

Documentation for MySQL can be found at

Parts of this documentation included from MySQL manual with permissions of Oracle Corporation.

Examples use either the world or sakila database, which are freely available.