Re: NEWBIE : DB::disconnect for Postgresql returns error

From: Date: Wed, 12 Mar 2003 16:53:36 +0000
Subject: Re: NEWBIE : DB::disconnect for Postgresql returns error
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-4185@lists.php.net to get a copy of this message
James 'Chip' Kaufman wrote:
On Wednesday 12 March 2003 10:34 am, Wim Paulussen wrote:
I cannot get the disconnect function to work for PostrgreSQL while using the PEAR extension. I use DB::disconnect() and get the message that I make a call to an undefined function . I can conenct and run queries though . All help appreciated. Wim
Please show an example of how you connect and disconnect.
$dsn= "pgsql://user@localhost/database" $db = DB::connect($dsn); -> works, I can also create tabels and insert information When I call this, it does not function : DB::disconnect($db);

« previous php.pear.general (#4185) next »