How would you split MySQL results into 'next' and 'previous' if the output was very long?
$data = mysql_query("SELECT * FROM table WHERE ... AND ...")
or die(mysql_error());
while($info = mysql_fetch_array( $data ))
{
echo $info['value'];
}
Where values would be listed from 1 to 10 and then go to next? The first page could be done with LIMIT 10 but how would I do the following ones?