Good day! There is a task:
- There is a multi-dimensional array;
- There is an update package passed to the variable;
- It is necessary to compare the value of a variable and an array (say in_array);
- DETERMINE (Here is the problem) what value from the array coincided with the change;
- Pass it (matched value to variable;
Pliz tell me a function that can solve a similar problem, because the key does not work
через key не получается- what exactly does not work? What is it expressed in? Can you show what and how are you doing? - Alexey Shimansky