PDO::getAttribute

Retrieve a database connection attribute

This function returns the value of a database connection attribute. To retrieve PDOStatement attributes, refer to PDOStatement::getAttribute.