PDO Exceptions
| From: | Onatawahtaw | Date: | Mon, 22 Apr 2013 15:55:18 +0000 |
| Subject: | PDO Exceptions | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-48721@lists.php.net to get a copy of this message | ||
Greetings,
I am new to this list. I have a question about which functions need to be included in a try block.
Of "new PDO", "prepare", "bindParam", "execute",
"fetch", and "query", it seems that bindParam is the only one that throws an
exception. So is this the only that needs to be put into a try block?
Thanks,
-KJW
Proverbs 3:5-6