Posted by Skeleton Man on 01/03/07 06:06
>------------------------------------------------------
>> while (odbc_fetch_row($result)){
>> $output[] = odbc_fetch_array($result);
>> }
>--------------------------------------------------------
>This is the offending code. Your code fetches the result twice.
>you should write something like:
>while($temp = odbc_fetch_array($result)) $output[] = $temp;
Thanks, must've been a brain fart I think ;-)
Chris
Navigation:
[Reply to this message]
|