Simple Paging in PHP

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
ZIP file with data