Re: [DB] Howto reset fecthRow() ?

From: Date: Fri, 19 Sep 2003 10:02:38 +0000
Subject: Re: [DB] Howto reset fecthRow() ?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-7911@lists.php.net to get a copy of this message
It seems that using getAll() instead of query() to get a resultset is better if we want to use twice or more the resultset. "Phpcoder" <spambox@wanadoo.fr> a écrit dans le message de news: 20030918105016.9013.qmail@pb1.pair.com... > Hi, > > I would like to re-use the result of a fetchRow object > > :::: > while( $row = $result->fetchRow() ){ > echo $row['aaa']; > }; > and then re-use the same set of result in my code. > > Thx

« previous php.pear.general (#7911) next »