RE: [PHP-DB] Reusing a Query

From: Date: Fri, 01 Dec 2000 21:52:49 +0000
Subject: RE: [PHP-DB] Reusing a Query
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-4947@lists.php.net to get a copy of this message
> > In my code I need to reuse my query in a couple of places. Is > > there a way to tell the row pointer to move to the top of the query? > > $rowNum = 0; // beginning > mysql_data_seek( $result, $rowNum ); > > > Also is there any query caching capabilities built into PHP? (3 or 4) > > Don't need it. All you need is the result returned by the query function. Is there an ODBC equivalent? Thx...Duane

« previous php.db (#4947) next »