Forum und email

dbplus_curr

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

dbplus_curr — Get current tuple from relation

說明

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

Reads the data for the current tuple for the given relation .

參數

relation

A relation opened by dbplus_open().

tuple

The data will be passed back in this parameter, as an associative array.

Return值

The function will return zero (aka. DBPLUS_ERR_NOERR) on success or a db++ error code on failure.

註釋

Warning

本函式是實驗性的。這個函式的行為、名稱、和關於此函式的任何其他文件在未來PHP的發行中可能會在不通知的情況下改變。 使用此函式需自行承擔風險。