Date: 07/17/01
- Next message: Dennis Gearon: "[phplib] Re[2]: [phplib-dev] security: READ THIS!"
- Previous message: Christian Fleischmann: "[phplib] subscribe mailing <email protected>"
- Next in thread: Arno A. Karner: "Re: [phplib] seek-problem"
- Reply: Arno A. Karner: "Re: [phplib] seek-problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi there,
I want to run through a set of result records repeatedly. What I do is
roughly this:
$db -> query(...);
$db -> next_record();
$startpos = $db -> Row;
while (condition) {
... // just some output
$db -> next_record();
}
$db -> seek($startpos); // After that I want to run through another loop
And there I get the error: "seek() failed. Result has records". I've also
tried $startpos-1 and +1 but the only change was "seek(-1)" failed respectively
"seek(1)" failed.
Any ideas?
Tom
-- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.netGMX Tipp:
Machen Sie Ihr Hobby zu Geld bei unserem Partner 1&1! http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a
-- Abbestellen mit Mail an: phplib-unsubscribe <email protected> Kommandoliste mit Mail an: phplib-help <email protected>
- Next message: Dennis Gearon: "[phplib] Re[2]: [phplib-dev] security: READ THIS!"
- Previous message: Christian Fleischmann: "[phplib] subscribe mailing <email protected>"
- Next in thread: Arno A. Karner: "Re: [phplib] seek-problem"
- Reply: Arno A. Karner: "Re: [phplib] seek-problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

