Next image/file.

Discussion in 'PHP' started by Josh Inno, Jan 8, 2007.

  1. #1
    I'm trying to find, or figure out how to build a script that will allow me to create a gallery of numbered images on an html page.

    I would need to have a set of 4 links at the bottom of the page. One of these buttons will take the user to the beginning of the gallery, one button will take them to the previous image, one will take them to the next image in the series, and one button will take them to the end of the gallery.

    I'm also hoping that I can incorporate a default page without a number as the first or last page in the line, but that I won't HAVE to have a default page at each end to make the script work.

    If at all possible, I'd like to be able to just put a new image page in the gallery, numbered, and have it automatically be inserted into the line of pages.
     
    Josh Inno, Jan 8, 2007 IP
  2. Barti1987

    Barti1987 Well-Known Member

    Messages:
    2,703
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    185
    #2
    Try to start off with this:

    if ($regular == "no") { $hours = 0.00; }

    Peace,
     
    Barti1987, Jan 8, 2007 IP
  3. Josh Inno

    Josh Inno Guest

    Messages:
    1,623
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #3
    So it's going to be a long and time consuming script build. Gotcha.
     
    Josh Inno, Jan 9, 2007 IP