The following is my array structure:
Array
(
     [0] => Array
        (
            [0] => Array
                (
                    [TagCount] => 5
                )

            [TagsPost] => Array
                (
                    [TagId] => 1
                )

            [Tag] => Array
                (
                    [TagName] => personal
                )

        )
   [1] => Array
        (
            [0] => Array
                (
                    [TagCount] => 3
                )

            [TagsPost] => Array
                (
                    [TagId] => 3
                )

            [Tag] => Array
                (
                    [TagName] => general
                )

        )
)
which I want to organize as follows
array
(
   [0] => Array(
        [TagCount]=>5,
        [TagId] =>1,
        [TagName] => personal
   )
  [1] => Array(
        [TagCount]=>3,
        [TagId] =>3,
        [TagName] => general
  )
)
Using set I am able to extract tagcount, tagId and tagName separately
in individual array, but is there a way directly that could give me
what I want without coding manual loop.

Cheers,
Ketan ;-)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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