$mystring = "this is an example string with many many words... The BENCHMARK() function executes the expression expr repeatedly count times. It may be used to time how fast MySQL processes the expression. The result value is always 0. The intended use is in the mysql client, which reports query execution times.";
$mystring = explode(' ', $mystring);
$PERPAGE =20; // 20 words per page
if (!isset($START)) { $START =1 ; }
for ($a=$START; $a< $START+$PERPAGE; $a++) {
if ($a > count($mystring)) { break; }
print $mystring[$a];
}
Ok. I'm tired as sh*te. And I've been drinking [Red Bull]. But my code still make some sense. =)