I 'm using this code to print information from a text file directly into a table. I know it is possible to write a piece of code that if a certain number of records is reached it generates a new page with a link to the previous one and vice versa. But I have no idea how to do this.
Greetz,
<?php
foreach($array as $row) {
$line = explode("|", $row);
if (count($line) > 1) { // only if row !empty
print "<tr>";
for ($i=0; $i<count($line); $i++) {
print "<td><font face=\"Arial, Helvetica, sans-serif\" color=\"#FFFFFF\" size=\"1\">$line[$i]</font></td>";
}
print "</tr>";
}
}
?>