I have an object/array like this:
[LineItems] => Array
(
[0] => stdClass Object
(
[ProductNumber] => PAC-051-9716
[Description] => KIT CLOSURE 6" BUTT THRD BLK
[Cost] => 24.84
[ExtCost] => 24.84
[OrdNum] => X4146223
)
)
And the other object/array looks like this:
[0] => VendorBillItem Object
(
[vendorName] => PAC-051-9716
[quantity] => 1
[rate] => 24.84
[amount] => 24.84
)
How can I check if [ProductNumber] field value from the first array exist in the 2nd array by checking it against [vendorName] field value?
Thanks in advance. Cheers!