question
Posted: Sun Mar 21, 2004 6:27 am
Hi Everyone,
I'm currently working on a project, but I can't solve a problem I'm facing.
What I would like to create is this:
I've got records that are based on a county and a category.
I want to start with both a list of categories, as well as a list of counties as an entrypoint.
The problem isn't in creating the lists or something, but it's the structure I want to do it in. I would like to use virtual subfolders.
Like when you start with selecting a category, you get on the page:
/categoryname/county_overview.php
and when you've selected the county, then you'll get into:
/categoryname/countyname/showlist.php
Also this isn't a problem. The problem starts when I want to start from the county list as well, as you would get this:
/countyname/category_overview.php
/countyname/categoryname/showlist.php
I don't know how I would be able to see which entrypoint the user has chosen, was it a category or a county(e.g. is the first subfolder name the name of a category or is it one of a county).
If you've got an idea about a solution, please post it, you would really help me a lot.
Greetz Jolly.
I'm currently working on a project, but I can't solve a problem I'm facing.
What I would like to create is this:
I've got records that are based on a county and a category.
I want to start with both a list of categories, as well as a list of counties as an entrypoint.
The problem isn't in creating the lists or something, but it's the structure I want to do it in. I would like to use virtual subfolders.
Like when you start with selecting a category, you get on the page:
/categoryname/county_overview.php
and when you've selected the county, then you'll get into:
/categoryname/countyname/showlist.php
Also this isn't a problem. The problem starts when I want to start from the county list as well, as you would get this:
/countyname/category_overview.php
/countyname/categoryname/showlist.php
I don't know how I would be able to see which entrypoint the user has chosen, was it a category or a county(e.g. is the first subfolder name the name of a category or is it one of a county).
If you've got an idea about a solution, please post it, you would really help me a lot.
Greetz Jolly.