Re: DB: numRows()

From: Date: Wed, 22 Nov 2000 17:05:34 +0000
Subject: Re: DB: numRows()
Groups: php.pear 
Request: Send a blank email to php-pear+get-460@lists.php.net to get a copy of this message
Hi, > DB/oci8.php: > There is no OCINumRows() in php so far -- only a Ora_Numrows() from the > old set of Oracle functions. yes thers no aequivalent to the other numrows. but me you can make a workaround. something like this (works imho only after version 8) SELECT count(*) FROM (SELECT inline_view1.* FROM ( // here must come the normal query e.g. select cake from kitchen ) view1 ) view2 this schould bring you the count of result rows from the query. the problem is, that the original sql statement is needed and must parsed and executed again. regards, thomas -- -------------------------------------------------------------------------- http://phporacleadmin.org http://tfromm.com mailto:tf@inubit.com "go away or I will replace You with a small PHP script!"

« previous php.pear (#460) next »