Re: Re: Simple DB_DataObject question...

From: Date: Mon, 05 Jul 2004 17:47:53 +0000
Subject: Re: Re: Simple DB_DataObject question...
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-13494@lists.php.net to get a copy of this message
I suppose it's assumed that you'll store your dataset in an array and loop through it multiple times if you need it. Actually, you should be able to do anything you need to do in one loop. Just save whatever you're doing in the second loop in variable(s) and use it later where you currently have the second loop. On Mon, 5 Jul 2004 09:12:14 -0500, Joseph Szobody <php-newsgroup@signaturetechstudio.com> wrote: > Thanks Justin & Alan, I'll use one of those methods. > > Doesn't this seem like something that should be part of DB_DataObject (or > perhaps PEAR DB)? Seems pretty basic. We have reset() for arrays, > mysql_data_seek() for mysql result sets, but nothing for DB? I haven't > looked closely at the code, but I would think it's as simple as reseting an > internal pointer. > > Joseph > > -- > PEAR General Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > !DSPAM:40e96001202021009320123! > > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin--

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