Skip to main content
Inspiring
October 15, 2014
Question

How do I refresh a page after a database update?

  • October 15, 2014
  • 2 replies
  • 406 views

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?

    This topic has been closed for replies.

    2 replies

    BKBK
    Community Expert
    Community Expert
    October 17, 2014

    It will make for an easier discussion if you show us the code that does the redirection.

    WolfShade
    Legend
    October 17, 2014

    I think the most common way is to use AJaX to query the database and refresh the DOM with the new data.

    V/r,

    ^_^