By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,968 Members | 1,684 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,968 IT Pros & Developers. It's quick & easy.

Sort_Order Linking Tables

P: n/a
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:
http://djsleepy.servebeer.com/~plong...database/Test/
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
Jul 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/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..


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

Jul 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.