RE: [PHP] odbc_fetch_into(), is there a way to display each data while using this function?
| From: | Andrew Hill | Date: | Thu, 07 Feb 2002 15:00:06 +0000 |
| Subject: | RE: [PHP] odbc_fetch_into(), is there a way to display each data while using this function? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-83841@lists.php.net to get a copy of this message | ||
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:scott@abcoa.com]
> Sent: Wednesday, February 06, 2002 5:10 PM
> To: php-general@lists.php.net
> 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
>
>
>