mysqli_stmt::next_result

mysqli_stmt_next_result

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

mysqli_stmt::next_result -- mysqli_stmt_next_resultLee el resultado siguiente desde una consulta múltiple

Descripción

Estilo orientado a objetos

public mysqli_stmt::next_result(): bool

Estilo por procedimientos:

mysqli_stmt_next_result(mysql_stmt $statement): bool

Lee el resultado siguiente desde una consulta múltiple.

Nota:

Anterior a PHP 8.1.0, disponible únicamente con mysqlnd.

Parámetros

stmt

Sólo estilo por procediminetos: Un identificador de declaraciones devuelto por mysqli_stmt_init().

Valores devueltos

Devuelve true en caso de éxito o false en caso de error.

Errores/Excepciones

If mysqli error reporting is enabled (MYSQLI_REPORT_ERROR) and the requested operation fails, a warning is generated. If, in addition, the mode is set to MYSQLI_REPORT_STRICT, a mysqli_sql_exception is thrown instead.

Historial de cambios

Versión Descripción
8.1.0 Ahora también disponible al enlazar con libmysqlclient.

Ver también

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top