note 22878 added to function.ibase-blob-open
| From: | maxowl at phpclub dot net | Date: | Wed, 03 Jul 2002 04:14:02 +0000 |
| Subject: | note 22878 added to function.ibase-blob-open | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-32532@lists.php.net to get a copy of this message | ||
ibase_blob_open -- open BLOB for read.
Description
int ibase_blob_open(string blob_id_str);
Retruns: blob_id or false on error.
ibase_blob_open open BLOB for read data. blob_id_str retrived from database with select.
example:
$set = ibase_query("SELECT V_BLOB FROM FOO WHERE ID = 999");
$row = ibase_fetch_object($set);
$blob_id = ibase_blob_open($row->V_BLOB);
$string = ibase_blob_get($blob_id);
echo $string;
ibase_blob_close($blob_id);
ibase_free_result($set);
See also <ibase_blob_close()>, <ibase_blob_get()>
--
http://www.php.net/manual/en/function.ibase-blob-open.php
http://master.php.net/manage/user-notes.php?action=edit+22878
http://master.php.net/manage/user-notes.php?action=delete+22878
http://master.php.net/manage/user-notes.php?action=reject+22878