PHP Arrays: Loop trough array with a lot of conditional statements. Help / Best practices
- by Jonathan
Hi, I have a problem I don't know how to get it to work the best way.
I need to loop trough an array like the one below. I need to check if the [country] index is equal to a Spanish speaking country (lot of countries) and then get those [title] indexes of the correspondent country and check for duplicates.
The original array:
Array
(
[0]…