Forum Moderators: coopster
Is is possible to match them as follows?
$array[counter][id] Match on $otherarray[counter][id]
I have tried the below... but it didn't work :(
do
{
if (in_array ($postchannels[$channelpopulatecounter][0], $postpullchannels) == true)
{echo "<input type=\"checkbox\" name=\"channels[]".$postchannels[$channelpopulatecounter][1]."\" value=\"".$postchannels[$channelpopulatecounter][0]."\" checked>".$postchannels[$channelpopulatecounter][1]."<br/>";}
$channelpopulatecounter += 1;
} while ($channelpopulatecounter != $channelpopulatetotal)
I have an Array as:
$test[0][zero]....$test[10][ten]
And I have another Array as:
$nope[5][five]....$nope[7][seven]
And I need to check if any second dimension of $test can be matched with the second dimension of $nope.
Thanks :)