used sweetalert on php code example Example: how to use sweetalert <script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>