MDB_Common::affectedRows()

MDB_Common::affectedRows() – Number of affected rows

Synopsis

require_once 'MDB.php';

integer affectedRows ( )

Описание

Number of affected rows by a query

Return value

integer - number of rows or MDB_Error when fail

Throws

Possible PEAR_Error values
Error code Error message Reason Solution
MDB_ERROR_NOT_CAPABLE NULL Function is not supported by the database backend Switch to another database system, if you really need this feature.

Замечание

This function can not be called statically.

    Поддержать сайт на родительском проекте КГБ