php8.5
Home/ Manual/ reference / mysqli/ The mysqli_result class

The mysqli_result class

Represents the result set obtained from a query against the database.

Intro

Represents the result set obtained from a query against the database.

Class synopsis

class mysqli_result implements IteratorAggregate { }

Properties

type

Stores whether the result is buffered or unbuffered as an Integer (MYSQLI_STORE_RESULT or MYSQLI_USE_RESULT, respectively).

Changelog

VersionDescription
8.0.0mysqli_result implements IteratorAggregate now. Previously, Traversable was implemented instead.

Mysqli-result

In this section

Source: reference/mysqli/mysqli_result.xml · from the official PHP manual (php/doc-en)