Results 1 to 5 of 5
Threaded View
-
09-20-2005, 06:09 PM #1Web Hosting Master
- Join Date
- Jan 2005
- Location
- UK, London
- Posts
- 764
use the variable stored in the string across another php script
Basically,
on my index.php file, i can select what game i want to play by typing this url
http://www.mysite.com/index.php?game=DTunnel
so, inside the index.php file i have this setup
$gamename = $_GET['game'];
now, i want to use the variable stored in the string $gamename across another php script
the another script is basically called scoreboard.php and i need the variable in the $gamename so i can do a mysql lookup and show all the highscore for the game the user is currently playing, i.e. index.php?game=DTunnel
how do i do this?:: www.AsuraHosting.com ::