Re: how to reuse DB results

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



adodb has a moveFirst() function. You should be able to use it to display x rows then $rs->moveFirst() and then use a while loop to display all of them.

HTH,
=C=
:
: Cal Evans
: Evans Internet Construction Company
: 615-260-3385
: http://www.eicc.com
: Building web sites that build your business
:


Aaron Wolski wrote:
Hi All,

Got this logic problem I don't know how to solve.

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?

Right now, I am making two calls to the Db to get the data I need to
display at the top of the page and then a second query to retrieve the
full result set.

I'm confused!

Thanks for any help!

Aaron


-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux