RE: [PHP] Tracking down the elusive "expecting T_PAAMAYIM_NEKUDOTAYIM"

From: Date: Wed, 14 May 2008 20:59:20 +0000
Subject: RE: [PHP] Tracking down the elusive "expecting T_PAAMAYIM_NEKUDOTAYIM"
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-274337@lists.php.net to get a copy of this message
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

« previous php.general (#274337) next »