Hey guys,
I was wondering if anyone could help me out with this problem. I am
currently running cakephp 1.2 and i wish to pass an array to my layout
so that i may use that array in a drop down list. I have my drop down
list working but i'm having trouble getting my array to the layout. I
looked at this blog (http://cake-php.blogspot.com/2006/09/21-things-
you-must-know-about-cakephp.html) but unfortunetely it's in 1.1 and
the command he uses (<? $this->_viewVars['somedata'] =
array('some','data'); ?> ) isn't working. I've been searching around
the API but haven't found a solution yet. Thanks in advance!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---