note 52059 rejected from function.pdostatement-fetch by betz

From: Date: Wed, 20 Apr 2005 11:13:56 +0000
Subject: note 52059 rejected from function.pdostatement-fetch by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-88253@lists.php.net to get a copy of this message
Note Submitter: johnl at stihealthcare dot com ---- For binary data query (bytea data type in Pg) - $stmt = $db->prepare( "SELECT data_blob FROM docdatablob WHERE msgid = :id" ); $id = 22222; $stmt->bindParam( ":id", $id ); $stmt->execute(); $row = $stmt->fetch(); print_r($row); returns - ( [data_blob] => Resource id #2 [0] => Resource id #2 ) Is this a bug?

« previous php.notes (#88253) next »