As I see it, what you want to do is to have different categories on your pages. If you have a link-page, you maybe would like to have categories like "Search engines", "Code-snippets", "Software developers" and such? Then, when you call the page like this:
index.php?p=links&cat=2
you'd get a page containing only the second category? (in this case, "Code-snippets"). Does this match with you ideas?
My suggestion is that you store all your links in a database (MySQL is my flavor of choice). Store them in a table like this:
[FONT=courier new][LID][NAME][URL][CATEGORY][/FONT]
where:
LID is the ID of the link,
NAME is the display-name
URL is the link's url
CATEGORY is the name or ID of the category (possibly stored in another table)
When you've got all your links stored like this, it's fairly simple to create a page that does a query to database, retrieves the links of each category, and optionally displays that link. All this depending on the variables passed to the page through GET or POST (that is: ?page=link&cat=category&link=link_id).
From your previous posts I take it you don't have much experience of PHP-programming? If this is correct, my suggestion is that you get a book about PHP, and start reading. This is almost always the easiest way to gain knowledge 🙂
Good luck,
Olle