SHARE
TWEET

Untitled

a guest Jul 16th, 2019 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if ($INS_event->execute()) {
  2.       echo '<script>Swal.fire({
  3.                 type: 'success',
  4.                 title: 'Se ha aƱadido un evento!'
  5.               })</script>';
  6.     }
  7.     else {
  8.       echo '<script>Swal.fire({
  9.                 type: 'error',
  10.                 title: 'Oops...',
  11.                 text: 'Algo ha ido mal!'
  12.               })</script>';
  13.     }
  14.      
  15. if ($INS_event->execute()) {
  16.       echo 'Nueva actividad aƱadida';
  17.     }
  18.     else {
  19.       echo 'Lo siento no se aƱadio';
  20.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top