[dev] Horde_Db to fetch results in numeric array

Jan Schneider jan at horde.org
Tue Mar 29 20:48:14 UTC 2011


Zitat von Vilius ?umskas <vilius at lnk.lt>:

> Hi,
>
> Tuesday, March 29, 2011, 10:01:28 PM, you wrote:
>
>> Quoting Vilius ?umskas <vilius at lnk.lt>:
>
>>>   I'm  trying to use Horde_Db from git to fetch the results so I would
>>>   have  numeric keys instead of column names. But I cannot find how to
>>>   do this. Can someone give me a pointer?
>
>> Horde_Db doesn't really implement fetchmode at the moment - can you
>> say why you need/want it?
>
> Just wanted to fix Cyrsql.php driver at the lines 345 through 359 :)
> It uses indexed arrays.
>
> Also some internal stuff I have.

array_values($result->fetch());

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the dev mailing list