I retrieved an array from my database with FindAll() which looks like
this:

Array
(
    [0] => Array
        (
            [Tag] => Array
                (
                    [tag_name] => Searchengines
                    [tag_count] => 51
                )

        )

    [1] => Array
        (
            [Tag] => Array
                (
                    [tag_name] => Blogengines
                    [tag_count] => 25
                )

        )

    [2] => Array
        (
            [Tag] => Array
                (
                    [tag_name] => Motweilers
                    [tag_count] => 14
                )

        )
... etc  etc.

But I want it to be formatted like this:
Array
(
[Searchengines] => 51
[Blogengines] => 25
[Motweilers] => 14
etc.etc.
)

Can anyone help me?

Thanx in advance,

Ape

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