I have a question about linking web pages. I have a database that is used to display information on my index page, which is working fine. However, at some point I will be adding information that contains a link to a page within the same database. I can do this with external links, but how do I do this for internal links. For example: assume I have a database entry called Egypt with its own text and images, how do I link to this page in say the 'home page', a page in the database.
I hope that makes sense: I have tried this <a href="index.php?id=4">Egypt</a> which works, that is the information appears on the index page. However, this means manually adding the id for each link.
I have pageheader and pagecontent for the data.
EX:
pageheader pagecontent
Egypt some information.
Any help will be appreciated.