In case you can't see the 'highlighted' portion (it is what I need to
extract), here it is:
agents" => array(
"John" => "Mensah",
"Sumani" => "Abdulai",
"Eric" => "Adotey",
"Sam" => "Darko",
"Moses" => "Adjei",
"Kwabena" => "Kyeremeh"*
),
-sam
On Jun 9, 4:43 pm, samuel darko <[email protected]> wrote:
> Hi All:
> I need help in extracting data from my find('list') result.
>
> I have $this->Jurisdiction->Agent->find(......)
>
> and getting the result below but want just a portion of it, highlighted in
> pink (I've tried using set::combine() to no avail)
>
> $___viewFn =
> "/home/ilcs/website_files/app/views/jurisdictions/view.ctp"
> $___dataForView = array(
> *"agents" => array(
> "John" => "Mensah",
> "Sumani" => "Abdulai",
> "Eric" => "Adotey",
> "Sam" => "Darko",
> "Moses" => "Adjei",
> "Kwabena" => "Kyeremeh"*
> ),
> "jurisdiction" => array(
> "Jurisdiction" => array(),
> "Owner" => array(),
> "Agent" => array(),
> "Transaction" => array(),
> "Vendor" => array()
> ),
> "num_agents" => 3
> )
>
> .......
> ..........
>
> Thanks for any help.
> Sam Darko
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---