When you include a PHP file, it literally inserts the PHP code (in the included file) at that point in your script.
For example:
This is file a.php:
$a = "orange";
This is file b.php:
$a = "apple";
include "a.php";
echo $a;
If you ran that, you would see 'orange' printed out, because there is a variable called $a declared in the
included PHP file, that has over-written the variable set before it.
Following this logic rather than doing:
<?php include "score.php?game=1"; ?>
You can set the 'game' variable before the included script:
$game = 1;
include 'score.php';
Then make 'score.php' check for the existence of $game.
Cheers,
Rich
"Bite my shiny metal ass" (Futurama)
"Don't ping my cheese with your bandwidth" (Dilbert)