note 20265 added to function.ibase-query
| From: | elf at royal dot net | Date: | Thu, 28 Mar 2002 05:18:57 +0000 |
| Subject: | note 20265 added to function.ibase-query | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-28318@lists.php.net to get a copy of this message | ||
A BLOB can be fetched easily adding IBASE_TEXT parameter to the ibase_fetch_object() function:
$r=ibase_query("select BLOB from BLOBS where BLOB_ID=1");
$d=ibase_fetch_object($r,IBASE_TEXT);
and it will fetch the BLOB as a text. Thus it referres to it like this:
$d->BLOB
*** ELF ***
--
http://www.php.net/manual/en/function.ibase-query.php
http://master.php.net/manage/user-notes.php?action=edit+20265
http://master.php.net/manage/user-notes.php?action=delete+20265
http://master.php.net/manage/user-notes.php?action=reject+20265