# Simple Paging in PHP

**URL:** <https://forum.kirupa.com/t/simple-paging-in-php/210099>\
**Category:** open source\
**Created:** [December 14, 2006, 10:39pm UTC](https://forum.kirupa.com/t/simple-paging-in-php/210099 "2006-12-14T22:39:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gvozden](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/gvozden/32/1084_2.png) [@gvozden](https://forum.kirupa.com/u/gvozden)\
**Post date:** [December 14, 2006, 10:39pm UTC](https://forum.kirupa.com/t/simple-paging-in-php/210099/1 "2006-12-14T22:39:40Z")

</div>

My first tutorial for PHP is simple page breaking of data. Basiclly I’ve set up a file which contains information about images in text file.  
Data file looks like:  
imagelocation1, imagedescription1  
imagelocation1, imagedescription2  
or  
img1.jpg, Picture from sea  
img2.jpg, Picture from cafe  
and so on… PHP page loads data and show only info for 10 picture for the page that is choosen from GET variable in URL.  
It’s just basic stuff and you can improve it to suite your needs, this is simple example so we don’t get too far from point and so you can learn other stuff while exploring this example.  
[Example page](http://www.primatron.co.yu/as/pageload_en/showpage_en.php)  
[ZIP file with data](http://www.primatron.co.yu/as/pageload_en/pageload_en.zip)
