RE: [PHP] Tracking down the elusive "expecting T_PAAMAYIM_NEKUDOTAYIM"
- Date: Wed, 14 May 2008 15:59:20 -0500
- From: "Boyd, Todd M." <tmboyd1@xxxxxxxx>
- Subject: RE: [PHP] Tracking down the elusive "expecting T_PAAMAYIM_NEKUDOTAYIM"
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