Re: help !!!

From: "Cornelia Boenigk" <poppcorn(at)cornelia-boenigk(dot)de>
To: "Alxander A(dot) Kapralov" <sasha(at)province(dot)ru>, <pgsql-php(at)postgresql(dot)org>
Subject: Re: help !!!
Date: 2002-06-17 18:18:01
Message-ID: 004201c2162b$a378c140$7f54fea9@zwerg98
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

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

In response to

  • help !!! at 2002-06-17 10:17:30 from Alxander A. Kapralov

Browse pgsql-php by date

  From Date Subject
Next Message angelo.rigo 2002-06-17 18:26:50 results from a opinion form
Previous Message Keary Suska 2002-06-17 17:10:56 Re: help !!!