I am trying to print the results of this code:
$cmpResult = array_intersect($productList2, $totalProductList);
print_r("cmpResult:"); ?><br /><?php
print_r($cmpResult); ?><br /><?php
but the output is "Array ( )". How do I get it to output the values of the intersect?