Ahh what a brain fart! ... thanks so much for pointing that out.


On Sep 22, 3:46 am, "David C. Zentgraf" <[EMAIL PROTECTED]> wrote:
> It's not a Cake issue, it's a PHP thing. "new" is a reserved word for  
> PHP and list() happens to be a language construct that looks like a  
> function, hence it's out too.
>
> http://jp.php.net/manual/en/reserved.phphttp://jp.php.net/list
>
> On 22 Sep 2008, at 16:59, trustfundbaby wrote:
>
>
>
> > I'm using cakephp 1.2 and naming any of my controller actions 'new' or
> > 'list'
> > throws  this error
>
> > Parse error: parse error, expecting `T_STRING' in {file_path} on line
> > {line_number}
>
> > I'm just curious why that is?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to