Hi John,

Thanks for your advice. I was able to get it to work with:

foreach ($task['Comment'] as $Comment => $comment ):

But now I'm facing a new issue. I need to be able to post a comment from the
Task view page, and I'm trying to work out the url.

Any advice on this one? This is what I have, and it's not working. It's
defaulting to the Add Task action:

echo $html->link(__('New Comment', true), array('action'=>'add',
$task['Comment']['comment'])); ?>
-- 
View this message in context: 
http://www.nabble.com/Accessing-Array-Data-the-view-%28not-index%29-File-%3A%3A-Where-am-I-wrong--tp23664192p23664688.html
Sent from the CakePHP mailing list archive at Nabble.com.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to