accessing a database result object

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
niceguy_reddy
Forum Newbie
Posts: 7
Joined: Fri Feb 04, 2005 9:01 am

accessing a database result object

Post by niceguy_reddy »

Hi everyone,

I used the ADODB method to connect to postgresql to select some data. Using while loop I displayed all the elements of the object till the end of file. Now i want to display them again from the starting element in the same page. How can i do this.

Anil
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

store the data into an array.
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

if i'm not mistaken ADODB has a MoveFirst method.... But don't know if all drivers support it well.....
Post Reply