Log in

View Full Version : How to paginate .txt files



hannah sofia
12-21-2010, 05:48 PM
Please help me paginate a series of .txt files without mysql...
I can able to show the content of a div into my homepage but it's too long if I will have hundreds of divs...

sample divs

<div class="img rand" >
<a href="video/teenamite.php?id=videourl.php "TARGET="_blank"><img src="image.jpg"></a>
<div class="desc truncate" >sampleTitle</div>
</div>
<div class="img rand" >
<a href="video/teenamite.php?id=videourl.php "TARGET="_blank"><img src="image.jpg"></a>
<div class="desc truncate" >sampleTitle</div>
</div>
<div class="img rand" >
<a href="video/teenamite.php?id=videourl.php "TARGET="_blank"><img src="image.jpg"></a>
<div class="desc truncate" >sampleTitle</div>
</div>
<div class="img rand" >
<a href="video/teenamite.php?id=videourl.php "TARGET="_blank"><img src="image.jpg"></a>
<div class="desc truncate" >sampleTitle</div>
</div>
<div class="img rand" >
<a href="video/teenamite.php?id=videourl.php "TARGET="_blank"><img src="image.jpg"></a>
<div class="desc truncate" >sampleTitle</div>
</div>

I browse the web but no luck...Hope you can help me with this... thank you in advance!

jscheuer1
12-21-2010, 07:52 PM
http://www.cybertext.com.au/tips_HTML_pagebreak.htm