restart()
Submitted by lanttis on 2 July, 2004 - 13:00.
Description
void restart (void)
Restarts the record retrieval process. After calling restart() the next() functio will operate as were the records never retrieved.
Examples
An example of retrieving the first 10 records twice.
... initialize and search ...
while($record = $search->next(10)) {
... process ...
}
$search->restart();
while($record = $search->next(10)) {
... process more ...
}
... end and clean ...

