Sort_Order Linking Tables

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default 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:
    [url]http://djsleepy.servebeer.com/~plong/library_database/Test/[/url]
    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


    Phill Long Guest

  2. Similar Questions and Discussions

    1. Linking tables within document
      We often use tables with text in the cells. Some of the same information appears twice in a given document. It would be very helpful if we could make...
    2. Linking Informix tables to SQL Server 2000
      I am having difficulty creating a linked server (Informix) in Microsoft SQL Server 2000. I have successfully installed the Informix OLEDB driver;...
    3. Linking tables via JDBC?
      We have an Informix 9.21UC3-1 database on a RedHat Linux box. And we are evaluating a package from Transsoft Inc. that allows access to legacy...
    4. Need help linking xp to 98
      In article <0a8d01c341a5$9f717cd0$a001280a@phx.gbl>, "Mark" <choppedcarrots@hotmail.com> wrote: If you're asking about Internet Connection...
    5. Linking of several tables in a heirarchical form
      I have a table, SYS_Locations, which lists all of the locations available for a system. I.E.: 1 -- Matrix Hall 2 -- Upstairs 3 -- Basement 4...
  3. #2

    Default Re: Sort_Order Linking Tables


    > 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..
    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

    Martin Lucas-Smith Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139