Paginated Flat File DB
View Single Post
01-04-2010, 05:14 AM
Join Date: Aug 2008
I'm guessing the 1000 in Salathe's post means as an example for the maximum of what your page number could be.
*$_GET['page'] <= max page number and $_GET['page'] >= min page number*
About all the lines always getting returned:
Are you sure your text file contains multiple lines and not just 1 really big one ?
Because if it is just 1 long line, the code would set the page to 1 and always get the 1 line.
View Public Profile
Send a private message to Parvus
Find More Posts by Parvus