note 20265 deleted from function.ibase-query by googleguy
| From: | googleguy@php.net | Date: | Tue, 22 Oct 2013 09:01:15 +0000 |
| Subject: | note 20265 deleted from function.ibase-query by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-196826@lists.php.net to get a copy of this message | ||
Note Submitter: elf at royal dot net
----
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 ***