as an example, in my View, i put this: <?php echo pr($phase['Stage']); ?> then the output will be : Array ( [0] => Array ( [status] => 0 [duration] => [p_date] => [a_date] => [id] => 4584 [remarks] => [stagesname_id] => 47 [phase_id] => 776 [Stagesname] => Array ( [name] => PSC TC Endorsement [kpi] => 0 [id] => 47 )
) [1] => Array ( [status] => 0 [duration] => [p_date] => [a_date] => [id] => 4585 [remarks] => [stagesname_id] => 48 [phase_id] => 776 [Stagesname] => Array ( [name] => CTC Endorsement [kpi] => 0 [id] => 48 ) ) [2] => Array ( [status] => 0 [duration] => [p_date] => [a_date] => [id] => 4586 [remarks] => [stagesname_id] => 49 [phase_id] => 776 [Stagesname] => Array ( [name] => Managers to SM [kpi] => 0 [id] => 49 ) ) [3] => Array ( [status] => 0 [duration] => [p_date] => [a_date] => [id] => 4587 [remarks] => [stagesname_id] => 50 [phase_id] => 776 [Stagesname] => Array ( [name] => SM to GM [kpi] => 0 [id] => 50 ) ) etc how can i access these arrays to be used inside the controller using loop? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---