I need help with these functions. My experience with php is very limited but I have been doing C programming decades ago so the principle is known to me.
ultimately I want to create a program that can compare 2 files, file1 is a list of part no. and prices, file2 a tech manual with only part no. and extract the prices of file1 for all the part no. of file2.
I am in the early stages but now for hours stuck with the 2 functions, both of which do not work as expected.
I am certain identical part no. are in both files so both functions should find matches but they do not.
the code is here: