question related to array
<p>I have two arrays. I want to read the value from first array then search item in second array. Example Take <code>449 =&gt; 4160</code> key from first array. Then search these value from second value.Can any one help me? thanks</p>

<p>First Array</p>

<pre><code>Array
(
   [449] =&gt; 4160
   [450] =&gt; 4181
)
</code></pre>

<p>Second Array</p>

<pre><code>classid] =&gt; 449
[class_orig] =&gt; Size
[options] =&gt; Array
    (
        [4160] =&gt; Array
            (
                [classid] =&gt; 449
                [option_name] =&gt; F
                [orderby] =&gt; 1
                [avail] =&gt; Y
                [price_modifier] =&gt; 0.00
                [modifier_type] =&gt; $
                [option_name_orig] =&gt; F
                [optionid] =&gt; 4160
                [selected] =&gt; Y
            )
</code></pre>
