Scott,

Try something like this (untested):

$row_num = 1; 

while (odbc_fetch_into($result, $row_num, $some_array) 
{
$row_num++;

        while (list ($key, $val) = each ($some_array)) 
                {
                echo "$key => $val<br>";
                }
}

Best regards,
Andrew Hill
Director of Technology Evangelism
http://www.openlinksw.com/virtuoso/whatis.htm
OpenLink Virtuoso Internet Data Integration Server


> -----Original Message-----
> From: Scott Fletcher [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 06, 2002 5:10 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] odbc_fetch_into(), is there a way to display each data
> while using this function?
> 
> 
> Hi!
> 
>     I want to know is is there a way to see the data per loop 
> when using hte
> odbc_fetch_into() function?  I want to see all of hte data.
> 
> Thanks,
>  Scott
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to