Hello Community,
I'm having trouble with data returning after my form has been submitted.

So in my case I have a notification system on my website and a setting popup window with a clear all checkbox so when the user clicks it then click save, after the form submits. All the notifications are still in the notification dropdown but if I refresh the page they will go away. So it's removing them from the database but not removing them from the list.

5 Years
Discussion Span
Last Post by joshl_1995

I don't think you're going to get much in the way of help unless you show any relevant code and/or explain your problem better.


Never mind I think I'll just try placing all the PHP code at the top of the page.
What I think is happening is the notifications are being loaded before the the php functions clears the notifications. The notifications are at the top of the page and the php script that clears the notifications is half way down the page.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.