Re: [PHP-DB] WIERD: odbc_fetch_row return value backwards? From: Andreas Karajannis (Andreas.Karajannis <email protected>)
Date: 08/31/00

Tyson Lloyd Thwaites wrote:
>
> Aha, thanks.
>
> Questions:
>
> 1/ A bit confused as to what Win* is

The evil OS from Redmond in all its flavours ;-)

> 2/ How would I implement going backwards in PHP if the driver does
> not support it?
>

Easiest thing would be to use a cursor library, as this is transparent
to the user. Odbc_fetch_row() would then work as you expected it.
If this is impossible, you would have to fetch the whole resultset into
an array and get the values from there instead via odbc_fetch_row().

-Andreas

-- 
Andreas Karajannis
GMD National Research Center for Information Technology
Schloss Birlinghoven, D-53754 Sankt Augustin
Phone +49 2241 142948

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>