Oh I found the problem. Since I need to enclose the string variable with quotes. Duh. var Device_Type = "<?= $DeviceType ?>"; -- View this message in context: http://www.nabble.com/Problems-using-concat-for-URL-Parsing-tp16040944s16610p16042447.html Sent from the MapGuide Users mailing list archive at Nabble.com.