How to compare 2 different length arrays to eachother
<p>I'm trying to make a function that compares two different length arrays to each other and  if they match then some actions are performed. Array1, cell1 compares to array2, cell1, cell2, cellN... Then Array1, cell2 compares to array2, cell1, cell2, cellN...</p>

<p>Something resembling this:</p>

<pre><code>if(array1[$i]==array2[])
{
   // Some actions...
}
</code></pre>

<p>How can this be implemented?</p>
