Answer the question
In order to leave comments, you need to log in
How to compare values for similarity in arrays in PHP?
Hello. For example. There are 2 arrays (or there may be more).
Each of them has meanings (conventional names for something). For example:
Array 1
[0]
Name: Vladimir
[1]
Name: Alex
Array 2
[0]
Name: Maxim
[1]
Name: Alex
OBJECTIVE:
Calculate similar values in arrays. Using for example the similar_text function. And so that it would be possible to work with array values 1, 2. I.e. I need to further create one array, for example:
Array Alex
Here I can insert any values from array 1
And here I can insert values from array 2
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question