Re: Any way to asked the DB if it's connected?

From: Date: Fri, 09 Apr 2004 00:30:31 +0000
Subject: Re: Any way to asked the DB if it's connected?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-11755@lists.php.net to get a copy of this message
Mike Zornek typed this on 04/08/2004 11:37 AM:
I'd like to get a Boolean response from the database object after asking it if it's currently connected to the database. Is there a way to do this? ~ Mike -----
Like this? if (DB::isError($conn)){ // error } ? -- Robby Russell, | Sr. Administrator / Lead Programmer Command Prompt, Inc. | http://www.commandprompt.com rrussell@commandprompt.com | Telephone: (503) 667.4564

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