[Solved] Filter 2D array using another 2D array where differently keyed column values intersect

Here is a way to do it : First, you need to extract the firepack_id you need to look for, then you need to loop through $arr1 and check if Firepack_sn is the same than than one of the firepack_id you extracted before, if yes, then you add it to an array. $arr1 = json_decode(‘[{“Firepack_sn”:”20012205″,”Installation_Date”:””,”Type”:”EH”,”Standard”:”VAS”,”Capacity_m3h”:”81″,”Pressure_bar”:”3,4″,”Rpm”:”2930″,”Power_kw”:”72″,”Pump_Type”:”KSB … Read more