Page 1 of 1

Passing a variable on to the next page...

Posted: Sun Jun 16, 2002 7:55 am
by Jim
I've got the whole variable thing figured out at:

http://www.aoe2.com/!scripts/filesubmis ... p?map=none

However, how do I get the variable that is in the above URL to pass onto the submission page?

Thanks!

Posted: Sun Jun 16, 2002 10:31 am
by jason
Just call it like this:

Code: Select all

$_GETї'map']
and use it like a normal variable.

Posted: Sun Jun 16, 2002 10:40 am
by Jim
I have no clue what you mean by that :(

Posted: Mon Jun 17, 2002 4:19 am
by mikeq
Must have been the first line of your post
I've got the whole variable thing figured out at
that made us assume you knew what you were talking about, silly us :wink: .

In the page you call a variable $_GET['map'] is now available for you to use, i.e.

<?PHP
Print "The variable is ".$_GET['map'];
?>