Received: from mx04.gis.net (mx04.gis.net [208.218.130.12]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g0BFm7B39056 for ; Fri, 11 Jan 2002 10:48:07 -0500 (EST) (envelope-from cmr@shell.gis.net) Received: from shell.gis.net ([208.218.129.18]) by mx04.gis.net ; Fri, 11 Jan 2002 10:48:07 -0500 Date: Fri, 11 Jan 2002 10:44:05 -0500 (EST) From: Chadwick Rolfs Reply-To: Chadwick Rolfs To: pgsql-php@postgresql.org Subject: passing resource id's through functions Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200201/8 X-Sequence-Number: 815 I seem to have figured out that pg_connect returns a resource ID that will not pass into another function, and that pg_pconnect does. I'm not too keen on the persistent connections. Can someone confirm this belief? I'm trying to remember where on php.net I read how to pass pg_connect resources to other functions, and haven't found it at functions, persistent connections, pg_connect or pg_pconnect. Any help would be appreciated, and helpful :) Chadwick Rolfs - cmr@gis.net Cleveland State University - Student Music Major - The Holden Arboretum Volunteer Computer Programmer - Student Employee --*I finally found powdered water; I just can't figure out what to add to it*--