My array pattern is
$arrayError= Array (
[user_name] => 1
[user_pass] => 1
[email] => 1
[iagree] => 1
)
I have to check if email is exist and it's value is 1 in the array
Does anyone know how to do this?
if(isset($arrayError['email']) && $arrayError['email'] == 1){
//winning
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.