dbplus_last

(PHP 4 <= 4.1.0, PECL dbplus >= 0.9)
Get last tuple from relation
int dbplus_last ( resource $relation, array &$tuple )

Reads the data for the last tuple for the given relation, makes it the current tuple and pass it back as an associative array in tuple.

Parameters:
relation

A relation opened by dbplus_open().

tuple

A relation opened by dbplus_open().

Returns:

Returns DBPLUS_ERR_NOERR on success or a db++ error code on failure.

See also:

dbplus_first() -

dbplus_curr() -

dbplus_prev() -

dbplus_next() -

doc_php
2016-02-24 16:16:14
Comments
Leave a Comment

Please login to continue.