dbplus_first

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

Reads the data for the first 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_curr() -

dbplus_prev() -

dbplus_next() -

dbplus_last() -

dbplus_errcode() -

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

Please login to continue.