Hi Alxander
> $r = pg_fetch_object($result, $i);
This syntax is valid since PHP 4.2.0. Are you sure that you use no
older PHP-Version?
> $result = pg_Exec( $db, $str );
> if ($result = pg_Exec( $db, $str ) != false && ($num =
> pg_numrows($result)) ) {
In the second line of the code-snippet you execute pg_exec a second
time. Write instead:
$result = pg_Exec( $db, $str );
if ($result && ($num = pg_numrows($result))) {
Regards
Conni