This question has been answered by multiple community members. See the first response.
<?php return $_GET['manufacturer'];
CAUTION: It is dangerous to use raw global variables on the page. For example, use :stripTags output filter to prevent XSS-attacks (eg. [[!#get.name:stripTags]])!
The hash symbol # in the URL indicates a named anchor.
It should work if you remove the # from the URL:
http://mydomain/mdx/index.php?id=7&bgcolor=ffffcc
And manually add the # in the code:
#[[!request.bgcolor]]
Just be careful, the GET parameters are passed raw, with no validation, so you'll need to make sure they are checked before you use them in code, for example to access the database.
CAUTION: It is dangerous to use raw global variables on the page. For example, use :stripTags output filter to prevent XSS-attacks (eg. [[!#get.name:stripTags]])!