Re: how to reuse DB results

From: Date: Thu, 20 May 2004 20:26:19 +0000
Subject: Re: how to reuse DB results
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-34503@lists.php.net to get a copy of this message
Aaron Wolski wrote:
Is there any way I can make a call to the DB for some records. Display some info from a column or two say at the top of the page and then display the full result set in a while() loop?
Look for the seek() function of whatever database you're using, i.e. mysql_data_seek() to reset the results set. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com

« previous php.db (#34503) next »