Count only new records in the database and submit as notifications

2

I have the following question, I need to return in a panel that there are records that are not being displayed on the screen. Type I have 10 records being displayed, are registered 2 more then I need to show a notification similar to that of Facebook.

At first I thought of registering the new registry with a status and then changing it when the registry was loaded on the screen even worked very well. What I would like to know is if there is something done through mysql itself?

    
asked by anonymous 17.07.2017 / 19:27

1 answer

2

There is no friend, the control has to be manual, with a flag like you did or inserting these new IDs into a control table for the same purpose.

    
17.07.2017 / 19:40