Re: [PHP] Tracking down the elusive "expecting T_PAAMAYIM_NEKUDOTAYIM"
- Date: Wed, 14 May 2008 14:04:57 -0700
- From: Tyson Vanover <tvanover@xxxxxxx>
- Subject: Re: [PHP] Tracking down the elusive "expecting T_PAAMAYIM_NEKUDOTAYIM"
Daniel Brown wrote:
<?php
foreach($set as $key => $value) { // You just missed the $ before value.
?>
This seems to be the culprit.
Also, check this line:
<?php
if (array_key_exists($key,$this->titles)
?>
You're missing a ')' to close the if() statement. It's not
causing this problem, but it will cause a problem afterward.
Thanks for catching that.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php