Copy link to clipboard
Copied
I have a page where I perform a database update and then redirect the page back to itself.
Even though the database is updated correctly and the page is redirected, it is not refreshing the page so I am not able to see the changes made to the database.
How do I make this happen?
Copy link to clipboard
Copied
I think the most common way is to use AJaX to query the database and refresh the DOM with the new data.
V/r,
^_^
Copy link to clipboard
Copied
It will make for an easier discussion if you show us the code that does the redirection.