PHP » GoLang |
login |
register |
about
|
GoLang PDO::getAttribute
request it (438)
GoLang replacement for PHP's PDO::getAttribute
[edit | history]
PDO::getAttribute(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.2.0) PDO::getAttribute — Retrieve a database connection attribute DescriptionThis function returns the value of a database connection attribute. To retrieve PDOStatement attributes, refer to PDOStatement::getAttribute(). Note that some database/driver combinations may not support all of the database connection attributes. Parameters
Return ValuesA successful call returns the value of the requested PDO attribute. An unsuccessful call returns null. Examples
Example #1 Retrieving database connection attributes
<?php See Also
|
more
Recently updated
more
Most requested
more
Last requests
|