 {         $array = '<script type="text/javascript">swal("Error!", "Please try again.", "error")</script>';     } else {         $array = '<script type="text/javascript">swal("Great!", "Your email has been subscribed", "success")</script>';     