I am generating array like this
Array (
[0] => Array ( [s_email] => amelia@example.com [s_inbox] => 0 [s_spam] => 10 )
[1] => Array ( [s_email] => claire@example.com [s_inbox] => 0 [s_spam] => 10 )
)
Later in my script I need to update value of s_inbox and s_spam something like below
[s_email] => amelia@example.com [s_inbox] => 1000
[s_email] => claire@example.com [s_inbox] => 2000
I have searched some answers but most of are key based but instead here I want modify it by emails. Let me know if anyone here can help me for the same.
Thanks!