assuming you read from a database:
search query:
<?PHP
$query = "SELECT *
FROM gb
WHERE entry LIKE '%" . $term . "%'
ORDER BY entrydate DEST;";
?>
display the first 10 links as searchresult.php?page=0&term=$term
links 11-20 as searchresult.php?page=1&term=$term
links 21-30 as searchresult.php?page=2&term=$term
...
display entries query:
<?PHP
$query = "SELECT *
FROM gb
WHERE entry LIKE '%" . $term . "%'
ORDER BY entrydate DEST
LIMIT " . ($page * 10) . ", 10;";
?>
hope that helps... take it easy!