(no version information, might be only in CVS)

PDO->setAttribute() --  Set an attribute


class PDO {

bool setAttribute ( int attribute, mixed value )


Sets an attribute on the database handle. Some of the available generic attributes are listed below; some drivers may make use of additional driver specific attributes.

Return Values

Returns TRUE on success or FALSE on failure.