Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4

Thread: Change Pages

  1. #1
    New to the CF scene
    Join Date
    Feb 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Change Pages

    I am new in php, in I want to write a script that has pages whithin a page so I can change them , for example at the bottom to be able to change pages like this:

    << 1 2 3 4 >>, each of them to be a link,

    I want to use this in my photo galery,
    Can someone help me with that.

  • #2
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Location
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Posts
    7,691
    Thanks
    42
    Thanked 637 Times in 625 Posts
    Use Firepage's excellent pagination script, which you can find on his website, www.firepages.com.au.

  • #3
    Regular Coder
    Join Date
    Mar 2007
    Location
    UK
    Posts
    151
    Thanks
    9
    Thanked 2 Times in 2 Posts
    instead of making you own photo gallery u could jst use Gallery which is a good gallery management thingy ma jig (PHP site thingy)

  • #4
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,529
    Thanks
    8
    Thanked 1,091 Times in 1,082 Posts
    Is your photo gallery reading pics from a database?

    The script will need to figure out how many pages will be needed by
    reading the list (or database) in advance to come-up with a navigation
    menu.

    So I think we're all trying to determine if you're using some sort of
    MySQL ... that's where using a pre-existing script would save so much time.
    Something like "Coppermine".


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •