View Single Post
Old 01-01-2010, 11:23 AM   #3 (permalink)
davidapple
The Wanderer
 
Join Date: Jan 2010
Posts: 22
Thanks: 2
davidapple is on a distinguished road
Default

Thanks for this Yes, this method is a big improvement. A lot simpler. This code pulls all of the data from the txt file using foreach(). However, for some reason the data is preceded by...

PHP Code:
Array
(
    [
0] => 
Also, is there a way of paginating this using something like...

PHP Code:
$linesperpage 10;
/* This line makes it so you can set the page in the query string of the URL */
if(isset($_GET['start'])) $start $_GET['start']; else $start 0;

if(
$start 0)
{
/* I'm kind of getting stuck at this part */

Is there a way of combining something like this with the first bit?

Last edited by codefreek : 01-03-2010 at 03:02 PM.
davidapple is offline  
Reply With Quote