[phplib] seek-problem From: Tom Gitzinger (tom_gitzinger <email protected>)
Date: 07/17/01

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.net

GMX 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>