<em><?php echo $person->errorInfo()[2]; ?> </em> </div> <?php } } } } if (isset($_POST['hdnAction'])) { if ($_POST['hdnAction'] == 'email') { if (isset($_POST['check'])) { $result = false; foreach ($_POST["check"] as $email) { $result = $custCon->multipleBuyerEmail($email); } } } } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <meta name="description" content=""> <meta name="author" content=""> <?php