On Sat, 19 Feb 2005 18:11:06 +0100, Timm Friebe [EMAIL PROTECTED] wrote:
with no indication what went wrong.
Please read the OTN article to learn about the error modes in PDO.
(I expect everyone to have read this!)
I find setting this:
$dbh-setAttribute(PDO_ATTR_ERRMODE,
On Sun, 2005-02-20 at 04:32 -0500, Wez Furlong wrote:
On Sat, 19 Feb 2005 18:11:06 +0100, Timm Friebe [EMAIL PROTECTED] wrote:
with no indication what went wrong.
Please read the OTN article to learn about the error modes in PDO.
(I expect everyone to have read this!)
I find setting
Hi,
the following sourcecode:
?php
$dbh= new PDO('mysql:host='.$argv[1], $argv[2], $argv[3]);
$stmt= $dbh-prepare('select * from entries where id = :id');
$stmt-bindParam(':id', $argv[4]);
if (!$stmt-execute()) {
var_dump($dbh-errorInfo());
exit;
}
for ($i= 0, $s=