PHP Manual
mysqli_stmt_data_seek
(PHP 5)
mysqli_stmt_data_seek(no version information, might be only in CVS)
stmt->data_seek() -- Seeks to an arbitray row in statement result setDescription
Procedural style:
void mysqli_stmt_data_seek ( mysqli_stmt stmt, int offset )Object oriented style (method):
class mysqli_stmt {void data_seek ( int offset )
}
Seeks to an arbitrary result pointer in the statement result set.
Parameters
stmtProcedural style only: A statement identifier returned by mysqli_stmt_init().
offsetMust be between zero and the total number of rows minus one (0.. mysqli_stmt_num_rows() - 1).
Examples
Example 2. Procedural style
|
The above example will output:
City: Benin City Countrycode: NGA |
Support PHPRO.ORG
Search
PHPRO.ORG Poll
Warning: Participation in PHPRO.ORG polls may incorrectly lead you to believe your opinions matter.

RSS Feed




