On Tuesday 16 April 2002 22:30, you wrote:
> I believe what you are looking for is:
> @pg_fetch_row( $result, $i++ )
>
> But check the manual for @.
>
> =C=
>
> *
> * Cal Evans
> * Techno-Mage
> * http://www.calevans.com
> *
Thanks, I think that's it
Bob Parker
--
PHP Database Mailing List (http
Sent: Tuesday, April 16, 2002 7:29 AM
Subject: [PHP-DB] How to turn off error display
> In the code shown below, everything works ok but php
> displays an error message when pg_fetch_row tries to
> access beyond the last row. How can I turn the error display
> off?
>
> // exec
In the code shown below, everything works ok but php
displays an error message when pg_fetch_row tries to
access beyond the last row. How can I turn the error display
off?
// exec query
$result = pg_exec($dbcon, $sql);
$i = 0;
while (($row = pg_fetch_row( $result