mysqli_stmt::next_result

(PHP 5 >= 5.3.0, PHP 7)
Reads the next result from a multiple query
public bool mysqli_stmt::next_result ( void )

Object oriented style (method):

Procedural style:

bool mysqli_stmt_next_result ( mysql_stmt $stmt )

Reads the next result from a multiple query.

Parameters:
stmt

Procedural style only: A statement identifier returned by mysqli_stmt_init().

Returns:

Returns TRUE on success or FALSE on failure.

Exception:

Emits an E_STRICT level error if a result set does not exist, and suggests using mysqli_stmt::more_results() in these cases, before calling mysqli_stmt::next_result().

See also:

mysqli_stmt::more_results() -

mysqli::multi_query() -

doc_php
2016-02-24 16:19:13
Comments
Leave a Comment

Please login to continue.