[lang_1] => Array
(
[0] => Array
(
[answer] => satu
[status_answer] => 2
[key_array] => 0
[language] => lang_1
)
[1] => Array
(
[answer] => dua_en
[status_answer] => 3
[key_array] =>
[language] => lang_1
)
[2] => Array
(
[answer] => lima
[status_answer] => 3
[key_array] =>
[language] => lang_1
)
[3] => Array
(
[answer] => enam
[status_answer] => 3
[key_array] =>
[language] => lang_1
)
)
[lang_2] => Array
(
[0] => Array
(
[answer] => satu
[status_answer] => 3
[key_array] =>
[language] => lang_2
)
[1] => Array
(
[answer] => dua_en
[status_answer] => 2
[key_array] => 1
[language] => lang_2
)
[2] => Array
(
[answer] => lima
[status_answer] => 3
[key_array] =>
[language] => lang_2
)
[3] => Array
(
[answer] => enam
[status_answer] => 3
[key_array] =>
[language] => lang_2
)
)
I have this two array. My problem is, how i can replace array in lang_1
with array in lang_2
where status_answer = 2
only