Re: [PHP-DB] Problem with PDO exceptions
[email protected] (Zoltan Ormandi)
| Newsgroups | php.db |
|---|---|
| Organization | WebFunTeam Kft. |
| Message-ID | <[email protected]> |
Hi, Did you set the value of the |PDO::ATTR_ERRMODE| attribute to |PDO::ERRMODE_EXCEPTION|? Btw, I don't think ||prepare would throw an exception even for a malformed query, but ||execute definitely should. Regards, Z