passing resource id's through functions

From: Chadwick Rolfs <cmr(at)shell(dot)gis(dot)net>
To: pgsql-php(at)postgresql(dot)org
Subject: passing resource id's through functions
Date: 2002-01-11 15:44:05
Message-ID: Pine.SOL.3.96.1020111103856.19632A-100000@shell.gis.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

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(at)gis(dot)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*--

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Frank Bax 2002-01-11 16:21:40 Re: passing resource id's through functions
Previous Message Andrew McMillan 2002-01-09 01:51:36 Re: Thanks for all the help