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 '';
echo "Connection test:\n";
echo "Rows: $entries\n";
print_r($result);
echo '
';
}
?>