HI all,
I am building a php application and i am wanting to use notifications.
At the moment i am just wanting to understand the methodology behind this.
I dont necessarily have a use case for these notifications yet but i am going to base it off of the following:
A user submits something to the database, another user gets a notifications that this has happened. I see the notifications being something appearing in the header bar (saying "you have a notification"...)
I know that i will need to use ajax for this and JS/JQ but i am not really sure where to start with this.
I have done some research and have come up a little blank.
My main question at the moment is how does the submission of data to the database trigger the notification?
As always and help here is appreciated.
Kind Regards
Adam