I know this is a really "green" question, but how does the
'{n}.State.id' section of your code work. I tried to look in my php
manual but was at a loss of where to find information on this "data
construct"/Placeholder/Whatever{n} is??? I have been at a loss as to
how to navigate the "complex" arrays that cake sometimes give me since
being new to programming/php/and cake.
Thanks, David
On Jan 4, 11:52 pm, bernalillo <[email protected]> wrote:
> $state_list = Set::combine($data, '{n}.State.id', '{n}.State.state');
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
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