Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ($INS_event->execute()) {
- echo '<script>Swal.fire({
- type: 'success',
- title: 'Se ha añadido un evento!'
- })</script>';
- }
- else {
- echo '<script>Swal.fire({
- type: 'error',
- title: 'Oops...',
- text: 'Algo ha ido mal!'
- })</script>';
- }
- if ($INS_event->execute()) {
- echo 'Nueva actividad añadida';
- }
- else {
- echo 'Lo siento no se añadio';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement