Page 1 of 1

Strings: CATID, ID

Posted: Wed May 29, 2002 5:35 am
by Kriek
I've seen these at the end of urls like:

Code: Select all

http://somesite.com/content.php?id=9
These are strings right?
Is there any documentation on them?
I can't seem to find any.

Posted: Wed May 29, 2002 5:50 am
by twigletmac
They are variables used by the code on the page being linked to.

If you're wondering about id and catid especially:
id and catid aren't special names they are just what the coder chose to represent a couple of values.

If you're wondering about query strings in general:
It's just a way of passing variables between web pages so that dynamic content can be generated.

Hope this helps,
Mac

Posted: Wed May 29, 2002 6:06 am
by Kriek
The Query String is the part of the URL after the '?' and contains a series of variable/value pairs separated by an ampersand ('&').
ok I was reading up on passing variables from page to page.
So what you said makes sense now. Thanks.

I figured it ID and CatID where madeup names.
But ID being a common one. Seen it on Refferal systems.