Calling a swal function in php

#calling the swal function::

function notify() {
  title: "Are you sure?",
  text: "Login Required.You will redirect for login.",
type: "warning",
showCancelButton: true,      confirmButtonColor: "#DD6B55",
confirmButtonText: "Go to Login",

closeOnConfirm: false

 swal("Redirect!", "You will redirect for login", "success");



Leave a Reply

Your email address will not be published. Required fields are marked *