Forum und email

dbplus_prev

(PHP 4 >= 4.0.7, PECL dbplus:0.9)

dbplus_prev — Get previous tuple from relation

Description

int dbplus_prev ( resource $relation , array &$tuple )

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

Parameters

relation

A relation opened by dbplus_open().

tuple

Return values

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

Notes

Warning

Varoitus! Tämä funktio on EKSPERIMENTAALINEN. Tämän funktion ominaisuudet, käyttäytyminen, parametrit ja nimi voivat muuttua varoituksetta seuraavissa PHP versioissa.