PDO setAttribute return value
| From: | Jerry Schwartz | Date: | Fri, 20 Apr 2007 14:11:03 +0000 |
| Subject: | PDO setAttribute return value | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-43463@lists.php.net to get a copy of this message | ||
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.