Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2000121

RE: [PHP-DB] Reusing a Query From: Boget, Chris (Chris.Boget <email protected>)
Date: 12/01/00

> 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.

Chris