I want to compare two arrays if an email address in array 1 exists in array 2 (here: [email protected]
). In that case it should display that the email already exists.
$Array1 = Array
(
[0] => Array
(
[username] => uname1
[name] => fullname1
[email] => [email protected]
)
[1] => Array
(
[username] => uname2
[name] => fullname2
[email] => [email protected]
)
[2] => Array
(
[username] => uname3
[name] => fullname3
[email] => uname3@@email.com
)
}
$Array2 = Array
(
[0] => Array
(
[username] => uname1
[name] => fullname1
[email] => [email protected]
)
}