<?
include("textdb.php");
$test = New textDB("test.txt", 1);
?>
Vers ingelezen<br>
<?
$record = $test->first();
while ($record)
{
echo $record[id]." ".$record[label]." ".$record[text]."<br>";
$record = $test->next();
}
?>
<br><br>Filtered<br>
<?
$test->filter("id > 5 and id <11");
$record = $test->first();
while ($record)
{
echo $record[id]." ".$record[label]." ".$record[text]."<br>";
$record = $test->next();
}
?>
|