interclubs
asked on
PHP in_array question when comparing 2 arrays...
I'm doing PHP in_array as such:
in_array(Array ( [0] => 38 [1] => 40 ) ,Array ( [0] => 38 [1] => 39 [2] => 40 ) )
but it never returns true, even though according to the docs it should...
What am I doing wrong, and anyway to make it work? I'm comparing a bunch of arrays...
in_array(Array ( [0] => 38 [1] => 40 ) ,Array ( [0] => 38 [1] => 39 [2] => 40 ) )
but it never returns true, even though according to the docs it should...
What am I doing wrong, and anyway to make it work? I'm comparing a bunch of arrays...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.