I have the following array values in $taxIdarr array
Array ( [0] => 1 [1] => 2 [2] => 1 )
How can i check the value 1,2 in in_array I am using the following code
if(in_array("1,2",$taxIdarr))
{
echo "test";
}
But not working.Please help me