Re: Tracking down the elusive "expecting T_PAAMAYIM_NEKUDOTAYIM"
| From: | Tyson Vanover | Date: | Wed, 14 May 2008 21:04:57 +0000 |
| Subject: | Re: Tracking down the elusive "expecting T_PAAMAYIM_NEKUDOTAYIM" | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-274340@lists.php.net to get a copy of this message | ||
Daniel Brown wrote:
<?php
foreach($set as $key => $value) { // You just missed the $ before value.
?>
This seems to be the culprit.
Thanks for catching that.Also, check this line:<?phpif (array_key_exists($key,$this->titles)?>You're missing a ')' to close the if() statement. It's notcausing this problem, but it will cause a problem afterward.