php sweetalert2 call function code example Example: alert sweetalert2 <script src="https://cdn.jsdelivr.net/npm/sweetalert2@10"></script>