Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

PDOStatement::getAttribute

PDOStatement::getAttribute

PHP PDO Reference ManualPHP PDO Reference Manual

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:


Return Value

Returns the attribute value.


PHP PDO Reference ManualPHP PDO Reference Manual