php-db | 2000121
Date: 12/01/00
- Next message: Duane Boudreau: "RE: [PHP-DB] Reusing a Query"
- Previous message: Duane Boudreau: "[PHP-DB] Reusing a Query"
- Maybe in reply to: Duane Boudreau: "[PHP-DB] Reusing a Query"
- Next in thread: Duane Boudreau: "RE: [PHP-DB] Reusing a Query"
- Reply: Duane Boudreau: "RE: [PHP-DB] Reusing a Query"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> 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
- Next message: Duane Boudreau: "RE: [PHP-DB] Reusing a Query"
- Previous message: Duane Boudreau: "[PHP-DB] Reusing a Query"
- Maybe in reply to: Duane Boudreau: "[PHP-DB] Reusing a Query"
- Next in thread: Duane Boudreau: "RE: [PHP-DB] Reusing a Query"
- Reply: Duane Boudreau: "RE: [PHP-DB] Reusing a Query"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

