Get title from array using an id
<p>Probaly a simple one for you but I have the following array that contains all the categories from a database:</p>

<pre><code>Array
(
    [0] =&gt; Array
        (
            [id] =&gt; 1
            [title] =&gt; Fitness News
            [description] =&gt; Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin tincidunt tempor nunc, sit amet facilisis metus molestie nec. Nulla varius justo et felis euismod bibendum. Vestibulum suscipit tempus viverra. Mauris eros lorem, posuere eget mattis et, euismod id metus. In ac dignissim ligula. fdsfdsfdsfds fdsf fsd
            [image1] =&gt; test
            [image1_title] =&gt; test
            [created] =&gt; 2012-03-26
        )

    [1] =&gt; Array
        (
            [id] =&gt; 2
            [title] =&gt; Recommended Products
            [description] =&gt; Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin tincidunt tempor nunc, sit amet facilisis metus molestie nec. Nulla varius justo et felis euismod bibendum. Vestibulum suscipit tempus viverra. Mauris eros lorem, posuere eget mattis et, euismod id metus. In ac dignissim ligula.gdsfdsfdsfdsfds
            [image1] =&gt; H
            [image1_title] =&gt; H
            [created] =&gt; 2012-03-25
        )

    [2] =&gt; Array
        (
            [id] =&gt; 3
            [title] =&gt; New Category
            [description] =&gt; This is a new category
            [image1] =&gt; 
            [image1_title] =&gt; 
            [created] =&gt; 2012-03-13
        )

)
</code></pre>

<p>Now what I have is bassically a category ID, but from this I would like to get the category title from the above array. </p>
