I have an array in the form of:
array(2) { [0]=> array(1) { ["positionID"]=> int(100) } [1]=> array(1) { ["positionID"]=> int(102) } }
I want to check 100 or 102 is contained in the array.
I tried code below, but it doesn't work. Can I get some help?
var_dump(in_array(102, $myArray));