SWFObject example: Passing querystring variables to a SWF using PHP

The following PHP code is being used to get the querystring terms and dynamically add them to the SWFObject JavaScript code:

foreach($_GET as $variable => $value) {
	echo "so.addVariable('$variable', '$value');";
}

Click one of these links to populate the querystring: