I got those php files called: clients,type and info.
Imagine a website like facebook.
You have your: http://www.site.web/profile?=232 , and you click an album, now you have http://www.site.web/profile?=232&album=10, so you click a photo you have http://www.site.web/profile.php?=232&album=10&photo=1.
I want to understand you they make this..keeping that “profile.php”
I think what you are looking for is to use hidden inputs to keep your variables being passed from page to page.
Use something like this in a form:
This way when you get one input, you can keep passing it from page to page using some simple PHP code to pick it up from the URL and display it again as needed.
Edit: (Further explanation)
When you are passing data through the URL from one page to another you can use some simple PHP code to see if something exists to pass it further along – like this:
Then, when actually making your links you can do something like:
In the HTML output section of your page, you can then use this:
And your link will appear with all the other variables being passed via the URL. In this case, if user was passed to the page with ID 4, and photo was passed to the page with ID 6, the HTML output would be:
If only the user was passed in the URL, and there was no
photo=6the output would be like this: