Forum und email

dbplus_last

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

dbplus_last — Get last tuple from relation

Description

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

Return Values

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

Notes

Warning

הפונקציה זאת היא ניסיונית. ההתנהגות של הפונצקיה, שם הפונקציה וכל הדברים אשר מתועדים כאן עשויים להשתנות ללא התרעה בהפצות עתידיות של PHP. השתמש בתוספת זאת על אחריותך בלבד.