I am using the code following on my page and the values beingreturned are 0 or 1 instead of the actual value given in the url string:
$swf = "-1";
if(isset($_GET['wm'])) {
$swf = 'wm_'+$_GET['wm']+'.swf';
}
if(isset($_GET['pr'])) {
$swf = 'pr_'+$_GET['pr']+'.swf';
}
I am passing the url values such as this:
http://somesite.com/index.php?wm=unseen_world&title=TIMES
The desired output would be something like the followng:
wm = wm_unswee_world
title = TIMES
What ever am I doing wrong?