Oracle 5.0 Reference Manual page 2407

Table of Contents

Advertisement

20.7.3.9.28. mysqli::$info,
Copyright 1997-2012 the PHP Documentation Group. [2230]
mysqli::$info
mysqli_info
Retrieves information about the most recently executed query
Description
Object oriented style
string
mysqli->info ;
Procedural style
string mysqli_info(
mysqli link);
The
mysqli_info
nature of this string is provided below:
Table 20.44. Possible mysqli_info return values
Query type
INSERT INTO...SELECT...
INSERT INTO...VALUES (...),(...),(...)
LOAD DATA INFILE ...
ALTER TABLE ...
UPDATE ...
Parameters
link
Return Values
A character string representing additional information about the most recently executed query.
Examples
Example 20.130.
Object oriented style
<?php
$mysqli = new mysqli("localhost", "my_user", "my_password", "world");
/* check connection */
if (mysqli_connect_errno()) {
MySQL Improved Extension (Mysqli)
mysqli_info
function returns a string providing information about the last query executed. The
Note
Queries which do not fall into one of the preceding formats are not supported. In
these situations,
mysqli_info
Procedural style only: A link identifier returned by
mysqli_connect
example
$mysqli->info
Example result string
Records: 100 Duplicates: 0 Warnings: 0
Records: 3 Duplicates: 0 Warnings: 0
Records: 1 Deleted: 0 Skipped: 0 Warnings: 0
Records: 3 Duplicates: 0 Warnings: 0
Rows matched: 40 Changed: 40 Warnings: 0
will return an empty string.
or
mysqli_init
2387

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 5.0 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Mysql 5.0

Table of Contents