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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.