Of course this is possible 🙂. In essence, all a database is a flat file, its just wrapped in complicated algorithms, and the data is put into the files specially.
You would just want to know (say if you wanted to show 5 lines at a time) how many lines.
$current = $_GET["current"] // the current line
$lines = 5;
if($end =="")
$end = 0;
if($current=="")
$current = 0;
$array = file("database.cvs");
for($i =$current;$i<$lines;$i++)
echo $array[$i];
if($current==0) {
$current = $current+$lines;
echo "<a href=\"read.php?current=$current\">Next</a>";
}
else {
$current = $current+$lines;
if($current > sizeof($array)) {
$current = sizeof($array) -1;
$end = 1;
}
if (!$end)
echo "<a href=\"read.php?current=$current\">Next</a>";
$current = $current - $lines;
echo "<a href=\"read.php?current=$current\">Prev</a>";
}
Warning this is probably full of holes but its a good start. BTW read.php is the name of this file, you just have it send in different variables all the time.
Hope this Helps!