Sort_Order Linking Tables

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Phill Long

    Sort_Order Linking Tables

    Hi,
    I am trying to setup a database of all my Films/Games, and so far it has
    proven very successful. But at the moment I have seperatae pages for every
    letter of the alpabet (e.g A.php, B.php, C.php ...) so that I can display
    all the titles alphabetticaly, (e.g. If I Click on the A link it will
    display every title beginning with A.)
    At the moment this works very well, but I would just like to know if anyone
    out there knows some very simple lines of code which I could use so that
    this is all done via one page, instead of me having loads of pages, because
    when I decide I want to upgrade the database I will have to update every
    page..
    The pages can be found at:

    at the moment the main page opens a new window when you click on a letter
    for example, if I click on A it will open in a new window, if I click on B
    it will open in a new window..I would like to keep this part as it is..

    Thanks In Advance
    DJSleepy


  • Martin Lucas-Smith

    #2
    Re: Sort_Order Linking Tables


    [color=blue]
    > At the moment this works very well, but I would just like to know if
    > anyone out there knows some very simple lines of code which I could use
    > so that this is all done via one page, instead of me having loads of
    > pages, because when I decide I want to upgrade the database I will have
    > to update every page..[/color]

    You are aware of include (), presumably?

    But your database functions in one file, e.g. database.html

    then include (./database.html) at the top of each page.

    where database.html is in the same directory as the other files.



    Martin

    Comment

    Working...