I think you either want to use no quotes or double quotes, but not single quotes. Double quotes will interpolate the variable, single quotes will not, i.e. $key becomes a string literal rather than a variable. No quotes will work, although the docs seem to indicate it is deprecated syntax. Not everyone agrees that it is deprecated, though ;)
Kirk > $GLOBALS[$key] is incorrect and depricated AFAIK. > $GLOBALS['$key'] (with the single quotes) is the proper way > to write these > types of associative arrays/hashs. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php