Hey,
I was wondering how I could include a variable inside another variable's name.
Example:
$day = "1"; $game$day = "2";
echo "$game1";
This doesn't work though. Any suggestions?
Thanks.
$day = "1";
$game$$day = "2";
echo $game1;
Or:
${"game".$day} = "2";