X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D08FBD8F8C for ; Sat, 24 Sep 2005 10:17:32 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 30453-05 for ; Sat, 24 Sep 2005 13:17:25 +0000 (GMT) Received: from a2s4.a2hosting.com (a2s4.a2hosting.com [64.9.205.220]) by svr1.postgresql.org (Postfix) with ESMTP id 9272CD8F15 for ; Sat, 24 Sep 2005 10:17:24 -0300 (ADT) Received: from user-1120q9s.dsl.mindspring.com ([66.32.105.60] helo=[192.168.1.10]) by a2s4.a2hosting.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.52) id 1EJ9uB-0006En-GF; Sat, 24 Sep 2005 09:17:27 -0400 In-Reply-To: <20050924024420.GA23515@winnie.fuhr.org> References: <20050924024420.GA23515@winnie.fuhr.org> Mime-Version: 1.0 (Apple Message framework v733) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <0F76AC73-D498-456F-B1AF-AE7068E5A836@pgedit.com> Cc: php-db , pgsql-php@postgresql.org Content-Transfer-Encoding: 7bit From: John DeSoi Subject: Re: pg_fetch_object Date: Sat, 24 Sep 2005 09:17:20 -0400 To: Michael Fuhr X-Mailer: Apple Mail (2.733) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - a2s4.a2hosting.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - pgedit.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 required=5 tests=[AWL=0.006] X-Spam-Level: X-Archive-Number: 200509/19 X-Sequence-Number: 3259 Hi Michael, On Sep 23, 2005, at 10:44 PM, Michael Fuhr wrote: > Works here with PHP 5.0.4 and PostgreSQL 8.0.3: Thanks for the example, it helped me figure out my dumb mistake. I copied code from another place using a PHP abstraction library. I was calling 'db_fetch_object' not 'pg_fetch_object'. Thanks much, John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL