Like on account-signup.php we have:
How to include this into account.php and account-details.php when staff is changing mail?
// check if email addy is already in use
$a = (@mysqli_fetch_row(@SQL_Query_exec("select count(*) from users where email='$mail'")));
if ($a[0] != 0)
$message = sprintf(T_("EMAIL_ADDRESS_INUSE_S"), $email);How to include this into account.php and account-details.php when staff is changing mail?
