PDO::setAttribute

(no version information, might be only in CVS)

PDO::setAttribute --  Set an attribute

Description

bool PDO::setAttribute ( int attribute, mixed value)

Warning

This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.

Sets a database connection attribute. The generic PDO connection attributes include:

PDO drivers may define further driver-specific attributes.