Re: Some strange behavior usign PEAR for querying DBs.

From: Date: Tue, 23 Jul 2002 11:08:58 +0000
Subject: Re: Some strange behavior usign PEAR for querying DBs.
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-1962@lists.php.net to get a copy of this message
Manuel vázquez acosta wrote: > > I'm using PEAR for managing databases. My web site has been proved for a > long time. It was running over Windows 2000 AS, and the specific db manager > used was MySQL 3.23. Now we moved the site to Solaris; the php was compiled > as an Apache module and the cmdline was: > './configure' '--with-apxs=/usr/apache/bin/apxs' > '--with-mysql=/usr/local/mysql' '--enable-calendar' > > In my code I have something like this: > $result = $db->query($query); > if (DB::isError($result)) > return EC_QUERYERROR; > return proccessQueryResult($result); > > This code runs perfectly in my W2k system but fails over Solaris by always > returning EC_QUERYERROR. Why you don't do a print_r($result) and read the error message? Tomas V.V.Cox

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