In your code, it appears you forgot to close a pair of parentheses: --- foreach($set as $key=>value) { if (array_key_exists($key,$this->titles) { $this->a[$key] = $value; } } --- It looks like that 3rd line should be: --- if (array_key_exists($key,$this->titles)) --- I hope that helps. Having another set of eyes take a look at it usually does. ;) Todd Boyd Web Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php