note 74943 added to function.PDO-query
| From: | fredrik at NOSPAM dot rambris dot com | Date: | Sat, 05 May 2007 16:04:15 +0000 |
| Subject: | note 74943 added to function.PDO-query | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-126215@lists.php.net to get a copy of this message | ||
The handling of errors by this function is controlled by the attribute PDO::ATTR_ERRMODE.
Use the following to make it throw an exception:
<?php
$dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
?>
----
Server IP: 129.16.214.50
Probable Submitter: 81.236.244.254
----
Manual Page -- http://www.php.net/manual/en/function.PDO-query.php
Edit -- https://master.php.net/note/edit/74943
Del: integrated -- https://master.php.net/note/delete/74943/integrated
Del: useless -- https://master.php.net/note/delete/74943/useless
Del: bad code -- https://master.php.net/note/delete/74943/bad+code
Del: spam -- https://master.php.net/note/delete/74943/spam
Del: non-english -- https://master.php.net/note/delete/74943/non-english
Del: in docs -- https://master.php.net/note/delete/74943/in+docs
Del: other reasons-- https://master.php.net/note/delete/74943
Reject -- https://master.php.net/note/reject/74943
Search -- https://master.php.net/manage/user-notes.php