PDA

View Full Version : Simple Paging in PHP


gvozden
12-14-2006, 06:39 PM
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)

nite21
04-04-2008, 09:04 AM
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)


would u have tutorials how to do paging in actionscript

Seb Hughes
04-04-2008, 01:07 PM
Very nice thanks, shall check it out. Got a version that works inpart with mysql?

chrisclick
04-04-2008, 02:19 PM
nice, but im gonna stick to my version. :D

Digitalosophy
04-04-2008, 04:44 PM
would u have tutorials how to do paging in actionscript

there are about 4,678 threads on that here.

fasterthanlight™
04-04-2008, 05:07 PM
I count 4,679

ajcates
04-04-2008, 05:54 PM
I have written up a tutorial on how to do this with frog cms, It is basically the same idea.

http://ajcates.com/articles/2008/03/13/how-to-have-pagination-in-frog-cms

evildrummer
04-05-2008, 07:57 PM
Wow!!! What a delay... post something in 2006; no replies... until two years later.

Digitalosophy
04-06-2008, 11:49 AM
lol @ nobody noticing it

- |Flash Man| -
04-06-2008, 09:22 PM
Oh yeh! lol