db) {
$result = $isis->db->read($entry);
$entries = $isis->db->entries();
if ($entries < $entry) {
$entry = 1;
}
if ($entry != 1) {
$prev = $entry - 1;
echo '< prev ';
}
if ($entry < $entries) {
$next = $entry + 1;
echo 'next >';
}
// Format output.
echo "\n";
echo "Showing entry $entry from $entries total entries.\n";
echo "\n";
print_r($result);
echo '
';
}
?>