RE: Tracking down the elusive "expecting T_PAAMAYIM_NEKUDOTAYIM"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux