Subject | Re: [firebird-support] Weird php and firebird problem, repeating values |
---|---|
Author | Lester Caine |
Post date | 2005-12-12T15:08:13Z |
Fabio Gomes wrote:
Obviously one of the un-named fields that is being returned is giving a
problem. So the starting point is always to check the ACTUAL fields that
you want returned ;)
problem returns then we will know WHAT is causing the problem.
checking what the array is actually populated with, but testing things
in isolation above would be a better starting point :)
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
Treasurer - Firebird Foundation Inc.
> I dont think so, i used the same function for years with mysql and i use theAnd I STILL think it is due to using '*' !
> same code with a LOT of firebird code, and just with THIS table i have this
> problem.
Obviously one of the un-named fields that is being returned is giving a
problem. So the starting point is always to check the ACTUAL fields that
you want returned ;)
> I already tried to change my code to:So drop the '*' in that and try adding known field names until the
>
> $var = ibase_query($id, $sql);
>
> while($results = ibase_fetch_assoc($var)) {
> echo $results['blablabla'];
> }
>
> but i get the same repeated values :(
problem returns then we will know WHAT is causing the problem.
> i ve tried a lot of things, but none have worked, but in the ibwebadmin myI would be starting but dropping a print_r($items); after consulta() and
> query return the correct value :(
>
> But if you wanna see my code, i ve posted it here:
>
> http://www.phpbuilder.com/board/showthread.php?t=10313979
checking what the array is actually populated with, but testing things
in isolation above would be a better starting point :)
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
Treasurer - Firebird Foundation Inc.