PDOStatement::getAttribute
PDOStatement::getAttribute — Retrieve a statement attribute (PHP 5 >= 5.1.0, PECL pdo >= 0.2.0)
Description
Syntax
mixed PDOStatement::getAttribute ( int $attribute )
Retrieves an attribute of the statement. Currently, there are no generic attributes, only driver-specific ones:
- PDO::ATTR_CURSOR_NAME (Firebird and ODBC attribute): Get the name of the cursor for UPDATE ... WHERE CURRENT OF.
Return Value
Returns the attribute value.
PHP PDO Reference Manual