by freshnet » Wed Sep 19, 2012 5:27 am
You can't do this with the SQL, you'd need to return the result set and create a new page for every 5 rows. The best way to do that probably is to have a row counter variable that increments every time you output a result, and create a new page when that variable gets to 5, then reset the variable to 1.