I have two arrays ($one & $two) and I need to run an IF statment if a number from array $one is found in array $two
I just cant get to seem to get it to work.
Ive declared the variable and done the following code, however its just returning NO
Code: Select all
if (in_array( $one , $two))
{
Print ("YES");
}
else
{
Print ("NO");
}