in index.php I have 3 buttons (add, delete, edit)
if I click to delete it will redirect to the delete page query (delete.php)
after delete success, the page redirects to index.php and the sweet alert2 will popup with a success message (deleted successfully)
if I add a user the msg will change to added successfully
it depends on where I redirect to index.php
so what I can do?
source https://stackoverflow.com/questions/70159593/how-to-show-alert-in-the-redirected-page
Comments
Post a Comment