php id for url instead of massive url link?

Soldato
Joined
7 Jan 2007
Posts
10,607
Location
Sussex, UK
Hi,

I'm very much a beginner of PHP but I have noticed some sites have done there internal links like this:

href="http://www.oxy.co.uk/oxy.php?p=100

Now, I think they have created a php file called oxy.php which contains a list of links with an id number, in this case 100 so when it checks oxy.php it knows to travel to the link with an id=100.


Have I understood it right?

How on earth do I go about setting this up for my site? Any guides out there for this? What's this technique even called?

I'm really new to php and all comp language so I really would appreciate peoples input.
 
Back
Top Bottom