[eluser]Unknown[/eluser]
Hi All,
I'm a relatively novice developer but I'm really enjoying using CI at the moment and have been able to a lot by using the resources on the forums and wikis. However, I've hit my first problem which I haven't been able to find the answer to...
I'm passing an array of objects to a view in order to display elements in a table with some other information.
Code:
Array ( [0] => stdClass Object ([taskId] => 1 [taskEffort = 10) [1] => stdClass Object ([taskId] => 2 [taskEffort] = 5))
I would like to access taskEffort attribute for a given value of 'taskId' which is already defined. Any ideas how I would do this?
Many Thanks.