What's that [21] for ?? You are treating flash as an array, using index
[21], and then using its value as if it was a function. That's why you get
undefined function ().
It SHOULD be without the [21]:
$this->flash('Message', '/notes/');
-MI
---------------------------------------------------------------------------
Remember, smart coders answer ten questions for every question they ask.
So be smart, be cool, and share your knowledge.
BAKE ON!
-----Mensaje original-----
De: [email protected] [mailto:[EMAIL PROTECTED] En nombre
de tekion
Enviado el: Sábado, 02 de Diciembre de 2006 10:09 p.m.
Para: Cake PHP
Asunto: Re: building a sample app with cake...
The code the err is, but added the entry any way:
$this->flash [21]('Your note has been updated.','/notes/');
Taking out [21], it works. Does any one know why?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Cake PHP" 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
-~----------~----~----~----~------~----~------~--~---