Subject | Re: [firebird-php] Re: Problem in retrieving BLOB data |
---|---|
Author | Umberto Masotti |
Post date | 2009-06-01T17:56:18Z |
bala_karat ha scritto:
cause this function to return BLOB contents instead of BLOB ids".
So you should directly:
echo $data->TEST;
because you have a text not a blob-id.
Ciao.
MImmo.
> Thanks again Lester Caine for yr valuable time.No, you misunderstood. Quoting from manual " Passing *IBASE_TEXT* will
>
> I tried the following:
>
> $host = "localhost:C:/BK_Share/file_test/FILE.FDB";
> ibase_connect($host, "SYSDBA", "masterkey");
> $result = ibase_query("select TEST from EMPLOYEEMASTER where EMPCODE = '002'");
> $data = ibase_fetch_object($result,IBASE_TEXT);
> $blob_hndl = ibase_blob_open($data->TEST);
>
cause this function to return BLOB contents instead of BLOB ids".
So you should directly:
echo $data->TEST;
because you have a text not a blob-id.
Ciao.
MImmo.