Re: Interbase DB, again =)
| From: | Ludovico Magnocavallo | Date: | Tue, 19 Feb 2002 23:56:56 +0000 |
| Subject: | Re: Interbase DB, again =) | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-4814@lists.php.net to get a copy of this message | ||
Hi Tomas,
I've been away all day (damn job interviews) =), so I'm not able to try your
latest suggestion yet. I tried something similar before posting to the list,
and got the dreaded "Interbase synchronization error", the same one that
caused the fix for the associative array thing. It seems that the php ibase
module does not like having array references around. Unfortunately I'm not
very good in C, otherwise I could give a shot at trying to understand what's
happening.
More details on your suggestion tomorrow, time to go to sleep =)
L.
----- Original Message -----
From: "Tomas V.V.Cox" <cox@idecnet.com>
To: "Ludovico Magnocavallo" <ludo@sumatrasolutions.com>
Cc: <pear-dev@lists.php.net>
Sent: Monday, February 18, 2002 11:52 PM
Subject: Re: [PEAR-DEV] Interbase DB, again =)
> Ludovico Magnocavallo wrote:
> >
> > http://bugs.php.net/bug.php?id=15602
>
> Good. Home patches is not the way to go :-)
>
> > Hope somebody does something soon =)
> >
>
> Ludo what about that:
>
> $row = ibase_fetch_row($res);
> for ($i=0; $i < count($row); $i++) {
> $inf = ibase_field_info($res, $i);
> $ar[$inf['name']] = $row[$i];
> }
>
> ?
>
> Tomas V.V.Cox
>