On Thu, 8 Nov 2001, ben palmer wrote:
> code is something like this
> while ($URow=pg_fetch_array($Result,$i++))
> {
> }
[snip]
> how do I prevent these warnings? Without having to test the number of
> rows in result.
this way:
while ($URow=@pg_fetch_array($Result,$i++))
{
}
(note the @ before pg_fetch_array)
Regards
--
Helge Bahmann <bahmann@math.tu-freiberg.de> /| \__
Network admin, systems programmer /_|____\
_/\ | __)
$ ./configure \\ \|__/__|
checking whether build environment is sane... yes \\/___/ |
checking for AIX... no (we already did this) |