Re: bug: sybase.php for DB common package

From: Date: Mon, 11 Aug 2003 10:00:01 +0000
Subject: Re: bug: sybase.php for DB common package
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-19503@lists.php.net to get a copy of this message
On Monday, August 11, 2003 6:06, Spider wrote: > I've found out sybase.php don't provide a function for > DB_Result::numRows(). I have to add the following > script to sybase.php to make DB_Result::numRows() to > work. > function numRows($result) > { > $rows = @sybase_num_rows($result); > if ($rows === null) { > return $this->raiseError(); > } > return $rows; > } I'll add it, thanks. Just one question, does sybase_num_rows() return "null" on errors? Are you sure on this? -- Tomas V.V.Cox mailto:cox@idecnet.com

« previous php.pear.dev (#19503) next »