PDO setAttribute return value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is it my imagination, or does setAttribute return FALSE on success and TRUE 
on failure? I've tested it with getAttribute, and it definitely seems to 
work the reverse of what the documentation states.

I'm using MySQL, and I am setting the error handling. 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux