Hey, I'm teaching myself PHP, & I have a simple question. When PHP coders code a page like index.php?var=1234, what is the name of the function to do that? I don't know what the funtion name is, so I can't look it up in the manual. :-P Thanks. Adam
index.php is the filename var is a variable you pass to the script and 1234 is the value of that variable. in the php code you can do anything with this variable <?php if ($var){ echo $var; } ?> will show 1234.
That code depends on register globals being on, which the default has been off for some time... you should use something like $var = $_GET['var']; in new code
There is also $_REQUEST[] which includes COOKIEs, POST, and GET. But doing ?var=1234 this is called a GET request.