Just a simple question - have this array:
Array
(
[year] => Array
(
[0] => 2019
[1] => 2020
)
[user] => [email protected]
)
I just want to completely remove [user] => [email protected] from this Array.
The user will have always only one ocurrence.
I tried unset($filter['user'][0]); also unset($filter['user']); but nothing works.
unsetshould do it. Can you please post code example so we can search the error?