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.
Signature
public function getAttribute(int
$attribute )
Parameters
$attribute
— int
Returns
- mixed