Subject Re: [firebird-php] Strange string from MEMO field in FireBird
Author masotti
Hi all,

Jiri Cincura ha scritto:
> On Sun, Dec 14, 2008 at 15:57, kamilwalas <kamilwalas85@...> wrote:
>
>> $row = ibase_fetch_assoc($qry);
>>
>
> IBASE_TEXT
>

Because Kamil says he is new to PHP, i'd try to explain better:

$row = ibase_fetch_assoc($qry, IBASE_TEXT);

This converts all BLOBs SUB TYPE TEXT in VARCHARs, so you don't need to
fetch blobs writing more PHP code.
This anyways fetches BLOBs, also when you aren't interested to (say
particular conditions on other fields).
HTH

Ciao.
Mimmo.