View Single Post
Old 01-03-2010, 04:26 PM   #16 (permalink)
davidapple
The Wanderer
 
Join Date: Jan 2010
Posts: 22
Thanks: 2
davidapple is on a distinguished road
Default

This is fantastic. I'm getting really close to finishing this project now. I have tested this with a test file that looks a bit like this..

PHP Code:
line one
line two
line three
line four
... 
And it works a treat. I'll have to get my head around adding next page and previous page buttons (using query string) but I'm sure I can figure that out on my own.

I'm afraid, I do still have a problem though . This code doesn't appear to be working with my real txt file. Maybe because it's a lot bigger, with much longer lines. Here is an example of thee lines in my txt file...

PHP Code:
<!-- Comment Comment Comment Comment Comment Comment --><div class="thumb"><a href="http://verylongwesiteaddressblahblahblah.com/folderwithaverylongname/htmlfile.html?querystring=lalalalalala" target="_blank"><img src="http://www.url.com/thumbs/image.jpg" border="0"></a></div>
<!-- 
Comment Comment Comment Comment Comment Comment --><div class="thumb"><a href="http://verylongwesiteaddressblahblahblah.com/folderwithaverylongname/htmlfile.html?querystring=lalalalalala" target="_blank"><img src="http://www.url.com/thumbs/image.jpg" border="0"></a></div>
<!-- 
Comment Comment Comment Comment Comment Comment --><div class="thumb"><a href="http://verylongwesiteaddressblahblahblah.com/folderwithaverylongname/htmlfile.html?querystring=lalalalalala" target="_blank"><img src="http://www.url.com/thumbs/image.jpg" border="0"></a></div
I am certain that the quotes are not causing any problems, it's just that all of the lines are always returned regardless of the page number.

(Also Salathe, what does the number 1000 do in the previous reply?)
davidapple is offline  
Reply With Quote