Subject | Re: [firebird-php] Strange string from MEMO field in FireBird |
---|---|
Author | masotti |
Post date | 2008-12-15T08:28:28Z |
Hi all,
Jiri Cincura ha scritto:
$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.
Jiri Cincura ha scritto:
> On Sun, Dec 14, 2008 at 15:57, kamilwalas <kamilwalas85@...> wrote:Because Kamil says he is new to PHP, i'd try to explain better:
>
>> $row = ibase_fetch_assoc($qry);
>>
>
> IBASE_TEXT
>
$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.